At 10:56 2/3/01 -0000, Stefán F. Stefánsson wrote:
>Sorry for the repost but I'm afraid that some people might have been
>scared off with the subject of the other one (was 'Running
>EmbeddedTomcat through ant doesn't work').
>
>The basic question is if there is a way to access system variables (like
>JAVA_HOME) from the ant buildfile. I need to get JAVA_HOME so I can
>find where 'tools.jar' resides so I can start tomcat.
Have a look at property task (specifically the environment attribute) in
the docs which should help you ;)
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 |
*-----------------------------------------------------*