ant-user mailing list archives

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

1)
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..

2)
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!

Rob
:)


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

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

Phone:  61 3 9904 4394
Facsimile:  61 3 9904 4124
Email: robert.mark.bram@infotech.monash.edu.au


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


Mime
View raw message