Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse 3: problem setting up output folders

 
Ryan Sampson
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, just got eclipse a few days ago and am very impressed with it.. However I'm having some very fustrating problems setting up my project path structure.. Seems like such a trivial task.

I want my program to have the following file structure

projectfolder (root)
|- src (all my source files)
|- output
|-classes (holds all class files)
|-graphics (all image files program needs)
|-lib (needed jar files)


I set my default output folder to output.

I then check the checkbox to allow output folders for source folders.. I then make it so the src folders output folder is output/classes..

I get the error msg: Cannot nest output folder 'NexGenBaseball/output/classes' inside output folder 'NexGenBaseball/output'

I know if you want to nest src folders you have to add stuff to the exclude option for the parent folder.. Tried same technique for output folders didnt help...

Should i be doing all this in ant? Never used ant..




So i created the src folder for my source files under root. No problems there..

still ok...
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you just set your default output folder to output/classes?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic