File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse 3: problem setting up output folders Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse 3: problem setting up output folders" Watch "Eclipse 3: problem setting up output folders" New topic

Eclipse 3: problem setting up output folders

Ryan Sampson

Joined: Jan 11, 2004
Posts: 12
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

Joined: Jul 11, 2001
Posts: 14112
Why don't you just set your default output folder to output/classes?

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Consider Paul's rocket mass heater.
subject: Eclipse 3: problem setting up output folders