ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Top level tasks
Date Tue, 16 Jul 2002 03:51:57 GMT
--- Stefan Bodewig <bodewig@apache.org> wrote:
> The things that are still broken:
> 
> (1) You can throw Ant into an infinite loop with <ant> or <antcall> at
> the top level calling the same build file [...]

You can already do that:
<project default="infinite">

  <target name="tagback">
    <echo>"Tag back!"</echo>
    <antcall target="infinite"/>
  </target>

  <target name="infinite">
    <echo>"You're it!"</echo>
    <antcall target="tagback"/>
  </target>

</project>

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

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


Mime
View raw message