Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Howto migrate my CDT/C++ projects from Eclipse 3.5 to 3.7 ?
Howto migrate my CDT/C++ projects from Eclipse 3.5 to 3.7 ? [message #892787] Fri, 29 June 2012 16:30 Go to next message
Laurent Alebarde is currently offline Laurent AlebardeFriend
Messages: 15
Registered: January 2012
Junior Member
Hi all,

Just installed Eclipse 3.7 and CDT. I have both 3.5 and 3.7.

I have a lot of projects. I have been surprise to not get them directly when I launched Eclipse 3.7 Sad

What is the procedure please to "import" them ? I would like to not break the 3.5 configuration, for the case - of course, I can back-up before.

It looks not obvious from what I tried. It seems that importing "Existing Code" looses the project setup : compiler options, libraries paths, etc. Importing project settings looks good, but what xml file shall I import ? I don't have any in the project tree, only in the workspace root. I am very puzzled.
Re: Howto migrate my CDT/C++ projects from Eclipse 3.5 to 3.7 ? [message #892826 is a reply to message #892787] Sat, 30 June 2012 00:09 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1351
Registered: July 2009
Senior Member
On 06/29/2012 11:30 AM, Laurent Alebarde wrote:
> Hi all,
>
> Just installed Eclipse 3.7 and CDT. I have both 3.5 and 3.7.
> I have a lot of projects. I have been surprise to not get them directly
> when I launched Eclipse 3.7 :(
> What is the procedure please to "import" them ? I would like to not
> break the 3.5 configuration, for the case - of course, I can back-up
> before.
>
> It looks not obvious from what I tried. It seems that importing
> "Existing Code" looses the project setup : compiler options, libraries
> paths, etc. Importing project settings looks good, but what xml file
> shall I import ? I don't have any in the project tree, only in the
> workspace root. I am very puzzled.
You have a couple of options. First, you could open up your 3.5
workspace with 3.7. Your projects should still be there. Note that
this will probably prevent you from opening the workspace with 3.5 so
don't do this without backing up your entire workspace directory.

Your second option is to import the projects from the old workspace into
the new one. It sounds like you first created projects in the new
workspace and then attempted to import existing code into the new
projects. Instead, you should use the Import->Existing Project option.
Point to your old workspace directory from the Browse window and
Eclipse should recognize your existing projects and list them for you.
Select the projects you want. Note that you have the option to either
copy the projects into your new workspace, or leave the projects where
they are.
Previous Topic:run perl in CDT
Next Topic:how do i setup a c++ compiler for use in eclipse
Goto Forum:
  


Current Time: Thu Dec 18 08:45:38 GMT 2014

Powered by FUDForum. Page generated in 0.01577 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software