ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlay...@christian.net
Subject Antcall doesn't change dir when the target build.xml's "target name" duplicates with the current one name, bug?
Date Wed, 01 Sep 2004 14:16:41 GMT
Hi list,
I found that <antcall> task doesn't change to the correct dir
> when the target
build.xml's "target name" duplicates with the current
> one. For
example, when A/build.xml <antcall> B/build.xml. Both one
> have a
compile target. Here's the content of A/build.xml:
..
<target
> name="compile">
<antcall dir="../B" antfile="build.xml"
> target="compile"/>
</target>
..

When I do "ant compile" under A, Ant
> will only compile A's source
files, instead of B.  But when the two
> build.xml's target
differentiates in name, this problem doesn't seem
> to exist. For ex,
if A's compile target tries to call B's "ejbdoclet"
> target, then It's
just fine.

I am using Ant 1.6.1, Any idea?  Thanx
> in advance!


-
layman


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message