ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conelly, Luis (EM, DDEMESIS)" <Luis.Cone...@ge.com>
Subject RE: Please help: ant suddenly failing
Date Tue, 21 Oct 2003 14:23:50 GMT
I agree with Martin. A good option is to look to your environment prior to call ant; you can
edit the ant executable file (<ANT_HOME>/bin/ant) to display this values (by calling
the 'set' command), then execute the call to the ant class.

Also, the ant script is able to look for different unix/linux flavors. Maybe something is
overriding your $JAVA_HOME definition.

All this info is from ant 1.5.2 but it must be pretty much the same for all the versions

Regards

-Luis

-----Original Message-----
From: Martin Gainty [mailto:mgainty@hotmail.com]
Sent: Monday, October 20, 2003 7:09 PM
To: Ant Users List; ant-user@jakarta.apache.org
Subject: Re: Please help: ant suddenly failing


sounds like you have an override somewhere for $JAVA_HOME
possibly java.home property is defined to something other than JAVA_HOME env
var?
Are you using Anthill Pro?
-M
----- Original Message ----- 
From: <kynn@panix.com>
To: <ant-user@jakarta.apache.org>
Sent: Monday, October 20, 2003 7:51 PM
Subject: Please help: ant suddenly failing


>
>
> [ I'm concerned that my first attempt to send this in did not work;
> pardon the repeat if this is not the case. ]
>
>
> ant is suddenly failing; I can't figure out what I did to cause this.
> When I run it with -verbose, it says
>
> Detected Java version: 1.3 in: /usr/local/opt/java/jdk1.3.1_02/jre
>
> even though $JAVA_HOME is exported as /opt/java/jdk.  Why is ant
> ignoring $JAVA_HOME and looking for Java in /usr/local/opt/java?
>
> Thanks!
>
> Kynn
>
> P.S. Please Cc me in your replies.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

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

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


Mime
View raw message