Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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: Wed Jul 23 17:30:25 EDT 2025

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

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

Back to the top