Thanks, Stefan, that did the trick! L.
On 9/3/02 2:22 AM, "Stefan Bodewig" <[EMAIL PROTECTED]> wrote: > On Mon, 02 Sep 2002, Laurie Harper <[EMAIL PROTECTED]> wrote: > >> <target name="init"> >> <target name="worker" depends="init"> >> <target name="master" depends="init"> >> <antcall target="worker"><param name="x" value="y"/></antcall> >> >> Then running ant causes 'init' to be invoked 3 times. I only want it >> to be executed once. > > Guard against it with a property. > > <target name="init" unless="init-complete"> > ... > <property name="init-complete" value="who cares?"/> > </target> > > Stefan > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
