File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse workspace and projects 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 workspace and projects" Watch "Eclipse workspace and projects" New topic
Author

Eclipse workspace and projects

Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

Eclipse seems to want to force me to have a redundant layer of directories for my projects. I can't tell if I am doing something wrong, or if this is inevitable.

If I have a project in my sandbox, say "foobaz" then I have a directory structure that yields:


Its easy to tie the foobaz directory to a git repository, etc. When I used NetBeans, the sources, libs etc. would go directly under this, i.e.


Eclipse insists on adding a layer, also named foobaz, so I have



What am I doing wrong?

I don't to set "sandbox" as my workspace, since that directory is not under git/svn control, and I don't want to lose any .metadata and other magic files.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31065
    
232

Pat Farrell wrote:Eclipse insists on adding a layer, also named foobaz, so I have

I have /src at the top level of my projects. Try creating a brand new Java project in Eclipse making sure "create separate folders for sources and class files" is selected. This creates:
foobaz/src
foobaz/bin

The manually create the /lib and /dist folders in it.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse workspace and projects