ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: built-in property for the invoking target?
Date Fri, 03 Jun 2005 18:52:42 GMT
You can write a script to run ant:

ant -Dcommand="%*" %*

- Alexey.

Eric Wood wrote:
> My build.xml sends email that states whether or not the build succeeded
> or failed.  I would like to include which target was invoked from the
> command line, but I haven't found a built-in property for this.  I was
> using the ant-contrib <variable> task and setting it to the target name
> for each target, but this doesn't seem very ant-like. Is there a better
> way?
>
>
>
>
> Eric Wood
> ewood@llbean.com
> 207.552.2306
>
>   

-- 
------------------------------------------------------------------------
/ Alexey N. Solofnenko
home: http://trelony.cjb.net/
/

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


Mime
View raw message