ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Kazakov" <Vad...@quadrus.com>
Subject RE: keep going option
Date Mon, 13 Sep 2004 21:55:58 GMT
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


Mime
View raw message