ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sullivan, Sean C - MWT" <Sullivan.S...@menlolog.com>
Subject RE: Ant MailLogger, subject line
Date Mon, 26 Apr 2004 19:13:06 GMT

It would be nice if Ant provided a built-in property 
called "ant.build.targets"

The property would contain the list of targets that were 
specified on the command line.

-Sean


> -----Original Message-----
> From: Sullivan, Sean C - MWT
> Sent: Monday, April 26, 2004 10:51 AM
> To: user@ant.apache.org
> Subject: Ant MailLogger, subject line
> 
> 
> My build.xml file contains a target named "foo"
> 
> I am launching Ant with the following command:
> 
> ant -DMailLogger.properties.file=MailLogger.properties
>      -logger org.apache.tools.ant.listener.MailLogger
>      -f build.xml foo
> 
> I want the string "foo" to appear in the mail logger's subject line
> 
> Is there an Ant property that I can use to get the build target name?
> 
> Cheers,
> 
> -Sean
> 
> 
> ---------------------------------------------------------------------
> 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