I have individual build.xml in each sub project. The
problem is I need to add sourcepath in each build.xml
to refer to the sources in the other project. As a
result, the sources from the other sub project are
compiled into this sub project and vice versa. This is
something I don't want.
What can I
> -Original Message-
> From: TH Lim [mailto:[EMAIL PROTECTED]
> Sent: Sunday, 12 March 2006 4:53 PM
> To: user@ant.apache.org
> Subject: Compile Sources Specific to Its Subproject But Not
> Sources They Depend On
>
> Hi,
>
> I have a directory structure that looks something like this
I totally agreed with you for not having circular
dependencies between projects. Sometimes, you can't
say much when you inherit codes from the contractors
which you have no control over. Unless I bite the
bullet and break all circular dependencies in the code
there is nothing much I can do. Other
Hmmm, I don't know of any way to have the SUN compiler generate the
classes the way you describe if you really have circular dependencies
between the 2 projects. Eclipse must be using its own compiler to do
that.
Again, assuming you really have circular dependencies, you can't
compile projectA and