Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Downloading Github project to Eclipse (http://www.chiefdelphi.com/forums/showthread.php?t=132858)

Jaykus 14-01-2015 12:20

Downloading Github project to Eclipse
 
So because of a merging Github error, I ended up deleting every version of our robot code off of my computer. When I tried to redownload it, I could only get the code to appear as text files, and not as code. The .project and .classpath files all seem to be in working order, and I'm having the same problem on Netbeans and Eclipse.

otherguy 14-01-2015 14:45

Re: Downloading Github project to Eclipse
 
I'm not really sure what youean when you say the files import as text but not code...

But my guess is its all related to how you are importing your project into the IDE.

Assuming you're cloning the git repo to your computer outside of the eclipse, you should be able to import an eclipse project by going to File, Import. Then select General, Import Existing Project Into Workspace. Then navigate to the location on your computer that you cloned the repo to. If it detects a project at the location you should be able to click Finish/Next to complete the process.

Sorry I don't have eclipse in front of me to provide screenshots, but that's the general process. If that doesn't work for you please provide some more info on what you're doing to import your project into the IDE.

Jared 14-01-2015 15:09

Re: Downloading Github project to Eclipse
 
Make sure you're importing an eclipse project into eclipse, and not a netbeans project into eclipse.

When you clone your repository, you should have the option to select "choose an existing project", and it sounds like you chose "create a general project".

Jaykus 18-01-2015 19:35

Re: Downloading Github project to Eclipse
 
Fixed the problem. I found a place online that said to click Window -> Reset Perspective. Not sure how it worked, but it did. Thanks for the help :)


All times are GMT -5. The time now is 22:39.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi