You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jochen Wiedmann <jo...@ispsoft.de> on 2002/08/27 09:34:37 UTC

init target

Hi,

when working with custom tasks, but also in general,
I frequently find myself doing things like this:

    <target name="init"/>

    <target name="t1" depends="init"/>
    <target name="t2" depends="init,t1"/>
    <target name="t3" depends="init,t1"/>
    <target name="t4" depends="init"/>
    <target name="t5" depends="init,t1,t3"/>
    ...


Is it possible to simplify this? A "magic" target?
More important, can I force other users to depend
on the "init" target?


Regards,

Jochen

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>