All java system properties are available as Ant properties.
So use ${user.name}

Jan 

>-----Ursprüngliche Nachricht-----
>Von: Rajesh Kumar (IN4774) [mailto:[email protected]] 
>Gesendet: Montag, 4. Mai 2009 07:08
>An: [email protected]
>Betreff: know user name using ant
>
>Hi,
>I am running a ant script in Unix system and my ant scripts 
>requires current logged in user name and make use of user name 
>is entire scripts.
>Anybody help in how to find username using ant script?
>
>Regards,
>Raj
>
>________________________________
>http://www.mindtree.com/email/disclaimer.html
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to