ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs AntLikeTasksAtTopLevelTest.java
Date Wed, 03 Sep 2003 11:32:45 GMT
On Wed, 3 Sep 2003, peter reilly <peter.reilly@corvil.com> wrote:

> Note that one can still cause infinite loops with
> antcall:
> 
> <project default="x">
>   <target name="x">
>     <antcall target="y"/>
>   </target>
> 
>   <target name="y">
>     <antcall target="x"/>
>   </target>
> </project>

True, but there are too many cases where you cannot detect the case
without actually running the build.  <ant> has always thrown an
exception if you invoked the target is was part of, i.e.

<target name="a">
  <antcall target="a"/>
</target>

has always been caught.  I've just extended it to top level
invocations.

Stefan

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


Mime
View raw message