ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: how can i return the command line target itself?
Date Fri, 13 Feb 2004 07:47:15 GMT
You can´t.
Workaround: save it as property on commandline.
ant compile -Dtarget=compile


Jan

> -----Original Message-----
> From: Baz ¤Ñª° [mailto:sky_fox1@yahoo.com]
> Sent: Friday, February 13, 2004 12:50 AM
> To: ant-user@jakarta.apache.org
> Subject: how can i return the command line target itself?
> 
> 
> Hi,
> 
> How can i return the command line target itself?
> 
> For example, if i type "ant compile", how can i retrive the 
> target "compile" and assign it to a variable?
> 
> Thanks
> 
> Barry
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message