• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse workspace and projects

 
Rancher
Posts: 4803
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic