ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Seeger <see...@sitewaerts.de>
Subject Re: AW: Getting the called target or ant cmd parameters
Date Thu, 21 Sep 2006 09:57:54 GMT
Thanks, already using wrappers in other project. Looks like I have to use a 
init target...

Felix


Am Thursday, 21. September 2006 11:53 schrieb Jan.Materne@rzf.fin-nrw.de:
> 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