Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / March 2005

Tip: Looking for answers? Try searching our database.

Eclipse -- An Output Folder for each Src Folder. Possible?

Thread view: 
Edward Frederick - 21 Mar 2005 14:46 GMT
Hello,

I'm attempting to mirror an ant build in eclipse--I've got two source
trees that each compile to a different output folder--I'd like to do
the same in Eclipse. Unfortunately, it seems like all src folders are
forced to the same output folder.

Is there any way to work around this? Maybe a manual attribute or
property in classpathentry (.classpath)?

Thanks,

Ed
Tony Walker - 21 Mar 2005 19:49 GMT
I think you can solve your problem by creating each source tree as a separate
project.  Eclipse will let you specify a separate output folder for each
project.  You can then tell Eclipse that project A references Project B -- look
in Project->Properties->Project References for each project.

Tony

> Hello,
>
[quoted text clipped - 9 lines]
>
> Ed
Georg Lokowandt - 22 Mar 2005 12:50 GMT
> Hello,
>
[quoted text clipped - 5 lines]
> Is there any way to work around this? Maybe a manual attribute or
> property in classpathentry (.classpath)?

In the properties-dialog for the java build path on the page "Source" there
is a checkbox "Allow output folders for source folders". When you check
this, there is an additional attribute for each source path that you can
set.

I think this feature was added with Eclipse 2.1, don't know if it is still
available and if the UI changed.

Regards, Georg

> Thanks,
>
> Ed


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.