ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Alberto Fernandez <>
Subject Re: article: combining make and ant
Date Thu, 21 Mar 2002 16:06:56 GMT
 --- stephan beal <> 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

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message