Can the same Eclipse project be used on both Linux and Windows? [message #193519] |
Tue, 19 June 2007 04:12  |
Eclipse User |
|
|
|
Originally posted by: objectivedynamics.homail.com
I'm using Europa (3.2.100) and CDT 4.0.0 RC3 and I can't get it to work.
This is how I've been trying to do it:
On windows:
1/ Create a new Eclipse workspace
2/ Add a new project (Project1) to the workspace
3/ Add a single sourcefile (main.cpp) to the project
4/ Close Eclipse and copy .cproject, .project and main.cpp over to a linux
machine.
On Linux:
1/ Create a new workspace
2/ Import Project1 into the workspace
The project fails to build with the following error:
Errors running builder 'CDT Builder' on project 'Project1'.
Parent of resource: /blah/../Project1/Debug is marked as read-only
Can anyone confirm that what I'm trying to do isn't possible?
Rgds,
MikeB
|
|
|
|
|
Re: Can the same Eclipse project be used on both Linux and Windows? [message #194567 is a reply to message #193989] |
Fri, 29 June 2007 23:45  |
Eclipse User |
|
|
|
Hi Mike,
You can export the preferences in File->Export... and in selecting
General/preferences and imported in Linux.
I use that to migrate between windows, linux and mac OS X.
Drix
MikeB wrote:
> "Richard Miskin" <eclipsenews@richardmiskin.plus.com> wrote in message
> news:f5jft9$kng$1@build.eclipse.org...
>> I've got projects that build on both Windows and Linux so this is
>> possible.
>>
>
> Richard,
>
> thanks for the reply. I can get 'projects' to work on both platforms, it was
> just their containing workspace that I was struggling with. I'm certain that
> I was doing exactly what you suggested but Eclipse on the Linux machine
> always complained that the workspace was in use when I tried to open it.
>
> Replies I've had on the Subclipse mailing list suggested that Eclipse
> *workspaces* don't cross the platforms well. In fact, replies there
> recommended that I don't put the workspace under version control at all -
> just the projects. Then, when I want to perform a checkout on one of my
> platforms, I create a new directory to hold the workspace and from the
> new -> project dialog , I create each project from the version control
> system - Subversion in this case.
>
> This procedure works on both platforms. The real pain in the neck of doing
> it this way is that I lose any settings I had under Window->preferences and
> they have to be re-entered.
>
> Ah, well. It's my client's decision to go with Eclipse so they'll have to
> live with it. I've already spent far too much of their money trying to find
> an 'intuitive' way of working with it.
>
> I guess nothing's perfect. Especially if it's free.
> ;o)
>
> Rgds,
> MikeB
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.09950 seconds