ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: keep going option
Date Mon, 13 Sep 2004 22:13:38 GMT
Please use <antcall> only when it is absolutely necessary (almost 
never). Without <antcall> eventually (when Matt adds it) you will be 
able to use parallel executor. With <antcall> you will have to be very 
careful in order to use "advanced" features.

- Alexey.

Vadim Kazakov wrote:

>So the only way to take advantage of the -k option is to use depends?
>There's no way to use it with antcall or ant tasks?
>
>-----Original Message-----
>From: Matt Benson [mailto:gudnabrsam@yahoo.com] 
>Sent: September 13, 2004 3:53 PM
>To: Ant Users List
>Subject: Re: keep going option
>
>The <antcall>s take place within a single target in
>the main buildfile.  That target (default) fails, then
>your build would keep going.  Define your default
>target like this:
><target name="default" depends="targetA,targetB" />
>
>HTH,
>Matt
>
>--- Vadim Kazakov <VadimK@quadrus.com> wrote:
>
>  
>
>>I'm trying to get this option to work, but ant
>>doesn't really seem to
>>keep going. I'm trying the following build file
>>
>><project name="Proj" default="Default" basedir=".">
>>
>>            <target name="Default">
>>
>>                        <antcall target="targetA" />
>>
>>                        <antcall target="targetB" />
>>
>>            </target>
>>
>>            
>>
>>            <target name="targetA">
>>
>>                        <exec executable="a"/>
>>
>>            </target>
>>
>>            
>>
>>            <target name="targetB">
>>
>>                        <echo message="Great" />
>>
>>            </target>
>>
>></project>
>>
>> 
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message