Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse without "projects"

 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys : I have an external source repo. How can I use eclipse as my editor for the repo ?

I don't want to import it into eclipse as a "project" ---- it is in an outside directory under git version control, and I want to continue using my git commit/checkout from the command line.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Eclipse create a project in the base directory of the git repo. Use a general Java project. Unless you use ant or maven to build to build the code, in which case importing the ant or maven build script would be best. In either case identify the git repo base directory as the Eclipse project's base dirctory.

BTW, the git plugin for Eclipse is fairly handy for managing a git repo, but I sympathize with your desire to continue using git from the command line.
 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im not a command line jockey.... Its just The git plugin didn't work for me.

What version of eclipse does it work on and what is the name of the plugin you used? Was it EGit?
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Git! Shudder!
I was forced to use it once in the past. Used Egit with Helios. I referred to this while setting it up http://wiki.eclipse.org/EGit/User_Guide#Starting_from_existing_Git_Repositories
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic