ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Mark Bram <>
Subject Detecting an environment variable
Date Wed, 23 Jun 2004 09:34:32 GMT
Hi All!

How can I check to see if an environment variable has been set? I would 
like to do this: set a property for jiniHome only if JINI_HOME has not 
been set..

How can an install script 'guess' at the directories of some API's?
When they say that it will try to guess the location of Java, for example, 
is it just checking if JAVA_HOME is set?

Thanks for any advice!


Robert Mark Bram
B.Comp.(Systems Development/Business Systems)
Doctor of Philosophy Student

School of Network Computing
Faculty of Information Technology
Monash University
Peninsula Campus
McMahons Rd
Frankston, VIC 3199

Phone:  61 3 9904 4394
Facsimile:  61 3 9904 4124

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message