ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrie Treloar <Barrie.Trel...@camtech.com.au>
Subject Re: how do i run a target *after* other targets *and* irrespective of success/failure?
Date Mon, 11 Sep 2000 00:04:43 GMT
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. ---
____________________________________________________________________



Mime
View raw message