Skip to main content


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 15:05 Go to next message
Al Mising name is currently offline Al Mising nameFriend
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 09:32 Go to previous message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 458
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: Fri Apr 19 14:16:16 GMT 2024

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

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

Back to the top