Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse and Output Folders Q 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 and Output Folders Q" Watch "Eclipse and Output Folders Q" New topic

Eclipse and Output Folders Q

Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
Hi All- Here is what I want/need to do:

-src1 : source folder 1
-src2 : source folder 2

-bin1 : output for src1
-bin2 : output for src2

Can this be done with Eclipse (in a single project)?

Multiple source folders seems not problem.

Multiple output folders seems impossible.

Is that correct? Any other ideas?

Thanks, Guy
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
Check "Allow output folders for source folders".

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
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15957

I have one project with 5 different source and output folders - client, server, common, test and similar. It's no problem - just do like Ilja says.

Customer surveys are for companies who didn't pay proper attention to begin with.
Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
Thanks guys.

I agree. Here's the link:
subject: Eclipse and Output Folders Q
Similar Threads
is it possible in eclipse question for author B Dudney
Eclipse 3: problem setting up output folders
how to use fileset in Javac task
Exclude sources in javac task
pipe transformation to another transformation