ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: built-in property for the invoking target?
Date Mon, 06 Jun 2005 12:07:38 GMT
Hhm seems to rely on a newer Ant version.
Doesnt work with 1.6.3 ("self" is not defined.) but with 1.7alpha.


Jan 

-----Urspr√ľngliche Nachricht-----
Von: Dick, Brian E. [mailto:Brian.Dick@FMR.com] 
Gesendet: Montag, 6. Juni 2005 13:56
An: Ant Users List
Betreff: RE: built-in property for the invoking target?

I get the following error when trying the code from your reference.

BUILD FAILED
C:\build.xml:77: ReferenceError: "self" is not defined.

-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Monday, June 06, 2005 4:37 AM
To: user@ant.apache.org
Subject: AW: built-in property for the invoking target?


Maybe http://marc.theaimsgroup.com/?l=ant-user&m=110077914931555&w=2 could
be interisting for you.

Jan

-----Urspr√ľngliche Nachricht-----
Von: Alexey N. Solofnenko [mailto:A.Solofnenko@mdl.com] 
Gesendet: Freitag, 3. Juni 2005 20:53
An: Ant Users List
Betreff: Re: built-in property for the invoking target?

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


---------------------------------------------------------------------
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


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


Mime
View raw message