ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject RE: keep going option
Date Mon, 13 Sep 2004 22:00:56 GMT
That's my understanding of it.  Of course, you could
put an <antcall> in a target all by itself, but the
need for <antcall>s should be limited with the advent
of <macrodef> anyway.

-Matt

--- Vadim Kazakov <VadimK@quadrus.com> 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
> 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

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


Mime
View raw message