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: Getting the called target or ant cmd parameters
Date Thu, 21 Sep 2006 09:53:37 GMT
no, it is not.
You could write a wrapper script, which stores the target in an ant property.
http://marc.theaimsgroup.com/?l=ant-user&m=114123101810971&w=2

Jan
 

>-----Urspr√ľngliche Nachricht-----
>Von: Felix Seeger [mailto:seeger@sitewaerts.de] 
>Gesendet: Donnerstag, 21. September 2006 11:40
>An: Ant Users List
>Betreff: Getting the called target or ant cmd parameters
>
>Hi all,
>
>is it possible to find out the initially called target, e.g 
>ant clean the target I like to get is "clean" ?
>
>My problem is that I call an antfile from the project itself. 
>I like to skip this for one target name. Sure I could add 
>dependencies... but I don't like to do this here.
>
>
>Thanks
>Felix
>
>---------------------------------------------------------------------
>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