It's not a secret anymore!
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse without Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse without "projects"" Watch "Eclipse without "projects"" New topic

Eclipse without "projects"

jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
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

Joined: May 14, 2008
Posts: 5852

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.

JBoss In Action
jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
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

Joined: Jul 26, 2007
Posts: 10824

Git! Shudder!
I was forced to use it once in the past. Used Egit with Helios. I referred to this while setting it up

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: Eclipse without "projects"
It's not a secret anymore!