ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Environment variables
Date Wed, 30 Jan 2002 11:25:11 GMT
On Wed, 30 Jan 2002 22:22, Peter Kesch wrote:
> can i check if an environment variable is set or not ????
> i want to copy the JSPs into the Tomcat webapps-directory but it depends on
> if the environment variable is set or not because without it i have no
> information about the path to the webapps directory ....
>
> i tried it with the condition task but i have nothing to compare the
> variable to ...
>
> any hints ??

read the docs property task - specifically the environment attribute ;)

-- 
Cheers,

Pete

-------------------------------------------------
"Sometimes its better to keep your mouth shut and 
let people think your an idiot, than to open it 
and remove all doubt." 
-------------------------------------------------

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


Mime
View raw message