You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Laurent Rouvet <La...@webrewards.co.uk> on 2000/09/11 10:32:54 UTC
RE: how do i run a target *after* other targets *and* irrespectiveof success/failure?
I don't know, but you can create a new task which depends="compile,email".
Just an idea ;-)
> -----Original Message-----
> From: Barrie Treloar [mailto:Barrie.Treloar@camtech.com.au]
> Sent: Monday, September 11, 2000 1:05 AM
> To: ant-user@jakarta.apache.org
> Subject: Re: how do i run a target *after* other targets *and*
> irrespectiveof success/failure?
>
>
> On Sun, 10 Sep 2000, Paul Arzul wrote:
>
> > at the end of a build, i would like to send email to
> > developers.
>
> The documentation simply lists:
>
> Commandline option summary:
>
> ant [options] [target]
> Options:
> -help print this message
> -version print the version information and exit
> -quiet be extra quiet
> -verbose be extra verbose
> -logfile <file> use given file for log
> -listener <classname> add an instance of class as a
> project listener
> -buildfile <file> use given buildfile
> -D<property>=<value> use value for given property
>
> But you can specify multiple targets on the command line. So you can
> do:
>
> ant compile email
>
> Which will compile your source and then run the email target to send
> email.
>
> Barrie
> --
> Barrie Treloar
> ____________________________________________________________________
>
> Barrie Treloar Phone: +61 8 8303 3300
> Senior Analyst/Programmer Fax: +61 8 8303 4403
> Electronic Commerce Division Email: barrie@camtech.com.au
> Camtech (SA) Pty Ltd http://www.camtech.com.au
> --- Level 8, 10 Pulteney Street, Adelaide SA 5000, Australia. ---
> ____________________________________________________________________
>
>