ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Telang, Nandan" <tel...@amazon.com>
Subject RE: Exec with getlogin
Date Fri, 21 Oct 2005 18:50:19 GMT
If I echo ${user.name} it does give the correct username ..

-Nandan

-----Original Message-----
From: jh@web.de [mailto:jh@web.de] 
Sent: Friday, October 21, 2005 11:35 AM
To: Telang, Nandan; user@ant.apache.org
Subject: Re: Exec with getlogin

On Fri, 21 Oct 2005 10:49:15 -0700, Telang, Nandan wrote:

>I'm trying to call a perl script with the Ant exec task.. The script 
>tries to
get the userid by using getlogin() (Unix) When the script is run directly, it returns my loginname,
however when run through ant, it returns undef...

hmm, what happened to ${user.name}?

Ciao, J├╝rgen


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message