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