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