Go to Post If they want my business, then they should act accordingly. If they don't, I am quite happy to take my business (and that of my $16.5 billion organization) elsewhere. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-01-2015, 12:20
Jaykus Jaykus is offline
Registered User
FRC #4145
 
Join Date: Dec 2014
Location: Worthington
Posts: 9
Jaykus is an unknown quantity at this point
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2015, 14:45
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 430
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
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.
__________________
http://team2168.org
Reply With Quote
  #3   Spotlight this post!  
Unread 14-01-2015, 15:09
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
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".
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2015, 19:35
Jaykus Jaykus is offline
Registered User
FRC #4145
 
Join Date: Dec 2014
Location: Worthington
Posts: 9
Jaykus is an unknown quantity at this point
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
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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