I am beyond pleasantly suprised; I'm positively ecstatic! This will really
help me build so good scripts. Thanks for the tip!

- Jeff

-----Original Message-----
From: Peter Donald [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 5:52 PM
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject: RE: echo $Classpath


At 03:42  9/1/01 -0800, Jeff Davies wrote:
>There is no way to do this currently. Ant does not have access to any
>environment variables. There is a fair bit of talk about this
>feature/limitation, so stay tuned to this mailing list. I'd like to be able
>to read environment variables also.

check out

<property environment="myenv"/>
<echo mwessage = "My classpath = ${myenv.CLASSPATH}" />

I think you will be pleasantly surprised ;) I am not sure that is
documented yet thou ;)


Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

Reply via email to