jQuery in Action, 2nd edition*
The moose likes IDEs, Version Control and other tools and the fly likes is it possible in eclipse question for author B Dudney Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "is it possible in eclipse question for author B Dudney" Watch "is it possible in eclipse question for author B Dudney" New topic

is it possible in eclipse question for author B Dudney

amit mawkin
Ranch Hand

Joined: Oct 31, 2001
Posts: 73
Hi Bill ,
Is it possible that i can declare multiple source folders and can also specify the output directory ( where class files will be
generated) individually.
I am trying to emulate BEA split directory structure but still got stuck .
As eclipse will only take one folder as the output folder, and its a real pain chainging the source folder and output folder.
Any help will be greatly appreciated.
[ June 23, 2004: Message edited by: amit mawkin ]

regards, Amit
coffee drinker and Sun Certified Programmer for Java 2 Platform
Bill Dudney
Ranch Hand

Joined: Sep 05, 2003
Posts: 234
Hi Amit,

I usually rely on Ant to partition the 'products' and Eclipse to keep me from writing a bunch of code that won't work. So for example my typical project would have many source folders. I'd let Eclipse keep the classes where ever it wan't to (I totally ignore that aspect of Eclipse and think of it as basically an internal private piece of Eclipse that I don't think about or try to use or understand). Then in my ant build file I use war & jar to make my war, ear and ejb jar files and then deploy the .ear files out to weblogic, jboss, websphere etc.

Hope this helps!

TTFN,<br /> <br />-bd-<br /> <br /><a href="http://www.amazon.com/exec/obidos/ASIN/0471449156/qid=1064343733/sr=2-1/ref=sr_2_1/002-8375300-3666449" target="_blank" rel="nofollow">Jakarta Pitfalls</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471146153/qid=1064343733/sr=1-2/ref=sr_1_2/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">J2EE AntiPatterns</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471462071/qid=1064343733/sr=1-3/ref=sr_1_3/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">Mastering JavaServer Faces</a> | <a href="http://bill.dudney.net/roller/page/bill" target="_blank" rel="nofollow">Blog</a> | <a href="http://www.jroller.com/page/BillDudney" target="_blank" rel="nofollow">Eclipse Blog</a> | <a href="http://www.sourcebeat.com/TitleAction.do?id=2" target="_blank" rel="nofollow">Eclipse 3 Live</a>
amit mawkin
Ranch Hand

Joined: Oct 31, 2001
Posts: 73
Thanks for answering my question, I usually do that, but even if I have to change a line in jsp unless I am using an exploded archive , i have to completely rebuild the ear file which almost takes 5 min of my time, so if i am using an exploded archive structure the generation of class files does makes an important aspect of it. But thanks for your reply, as I am now sure that eclipse does not support that in current release .
It is sorta covered in the JavaRanch Style Guide.
subject: is it possible in eclipse question for author B Dudney
Similar Threads
In Eclipse, how to add log4j.properties to classpath ?
Eclipse debug setting
complex source directories in Eclipse Projects?
Eclipse does not like it if a package exists in parallel directory structure..
Eclipse Source Folder Management