On Wed, 3 Sep 2003, peter reilly <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to