ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: environment attribute
Date Fri, 04 Jan 2008 20:32:37 GMT
On 1/4/08, Barry Pape <bpape@netspend.com> wrote:
> Hopefully this is a quick and easy question.  Is the environment
> attribute of the property task supported on Solaris?

Yes.

> I've been trying
> to use ${env.HOSTNAME} but it doesn't appear to resolve.

Most likely because you have no such env. var. in your current shell.
Verify that using echo $HOSTNAME in the same shell you run Ant from.

Available env. vars varies by OS and shell usually. --DD

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


Mime
View raw message