Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Importing cloned Git repository in Eclipse(eclipse git)
Importing cloned Git repository in Eclipse [message #1000861] Tue, 15 January 2013 10:05 Go to next message
Al Mising name is currently offline Al Mising name
Messages: 123
Registered: July 2009
Senior Member
I am trying to create an Eclipse project from a cloned Git repository I've cloned the repository from here: https://github.com/nazgee/AndEnginePhysicsBox2DExtension

I have an existing project AndEnginePhysicsBox2DExtension and I want to create one called AndEnginePhysicsBox2DExtension-nazgee with the newly cloned repository.

I have the directories:
C:....AndEnginePhysicsBox2DExtension
C:....AndEnginePhysicsBox2DExtension-nazgee

Then I edit the .project file, changing:
AndEnginePhysicsBox2DExtension
to:
AndEnginePhysicsBox2DExtension-nazgeee

Also edited build.xml, adding -nazgee to project name

I get this error:
Invalid project description org.eclipse.egit.ui
Invalid project description org.eclipse.core.resources

How do I do this?
Re: Importing cloned Git repository in Eclipse [message #1001229 is a reply to message #1000861] Wed, 16 January 2013 04:32 Go to previous message
Stephane Begaudeau is currently offline Stephane Begaudeau
Messages: 406
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

How did you edit the ".project" file? If you want to change the name of the project, you just need to rename it from the Package Explorer view using the shortcut "F2". Eclipse may not like if you change the ".project" file while Eclipse is running since it is used internally by Eclipse. Did the error disappeared after a restart of Eclipse? If no, could you open the "Error Log" view (Window -> Show View -> Error Log) and double click on those two errors and paste here the stack trace along with the ".project" file.

Regards,

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau
Google+: +stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com | Eclipse Java Development Tools Tips and Tricks



Previous Topic:Problems with Starting a Project
Next Topic:Desktop application in juno
Goto Forum:
  


Current Time: Sun Apr 20 15:46:42 EDT 2014

Powered by FUDForum. Page generated in 0.01539 seconds