ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject Re: cvs commit: jakarta-ant/src/bin ant
Date Tue, 05 Dec 2000 07:29:20 GMT
on 12/4/2000 11:16 PM, "Peter Donald" <donaldp@apache.org> wrote:

> I am not sure if I am a freak or not but I would like to see this as
> 
> if [ "$JAVA_HOME" != "" ] ; then
> if [ "$JAVACMD" = "" ] ; then
> JAVACMD=$JAVA_HOME/bin/java
> fi
> else
> if [ "$JAVACMD" = "" ] ; then
> JAVACMD=java
> fi
> fi
> 
> because that way you won't need to set JAVA_HOME. Ugly as hell yes but it
> stops a whole heap of build environments I have set up (mainly
> web-designers). I suspecy it will also break 1.1 on *nix/cygwin thou I am
> not sure

Hmm...I personally think that setting JAVA_HOME should be a requirement.

-jon

-- 
Honk if you love peace and quiet.



Mime
View raw message