No, the target name(s) are not available, and this is done intentionally.

What would you use the target name for?


----- Original Message ----- 
From: "Jim Ray" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 7:42 PM
Subject: Get target name


> Is there an easy way to get the target name passed to ant.
>  
> For example, ant has the "ant.version" property that is set. So what
> I'm looking for is something like "ant.target" which would be a list of 
> targets that were called at the command line.
>  
> Jim
>  
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to