ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Alberto Fernandez <j_a_fernan...@yahoo.com>
Subject Re: article: combining make and ant
Date Thu, 21 Mar 2002 16:06:56 GMT
 --- stephan beal <stephan@einsurance.de> wrote: 
> 
> i'm using antcall, yes, but i don't think i'm
> over-using it. i have the 
> following setup:
> 
> <target name="main" depends="init">
>         <antcall target="cvsupdate"/>
>         <antcall target="dbclasses"/>
>         <antcall target="slabdbclasses"/>
>         <antcall target="compile"/>
>         <antcall target="maillog"/>
> </target>
> 

This kind of set-up is tipical of people that do not
understand how ANT works and try to use it as a
procedural language. The following line does what you
want and executes init only once:

  <target name="main" 
          depends="cvsupdate, dbclasses, 
                   slabdbclasses, compile, maillog" />

Try it!

Jose Alberto

 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.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