-----Original Message----- From: Stephan Müller [mailto:stephanr.muel...@gmx.de] Sent: Tuesday, January 19, 2010 4:08 PM To: Ant Users List Subject: Re: JAVA_HOME not interpreted on XP
/* [...] I have no idea where this search path is coming from, if it is something hardcoded. Some people suggested that ant tries to determine the actual path by invoking java.exe. I made sure that the JDK/bin path is the first one in %PATH% but that doesn't help either. > Maybe you have JAVA_HOME that points to defined somewhere in the scripts? I can't see where _my_ JAVA_HOME will be set to something else. */ Put ant in a path without blanks, means not C:\Documents and Settings\... and try starting via batchfile, f.e. = @ echo off set ANT_ARGS=-lib C:\ant171\extralibs set ANT_HOME=C:\ant171 set ANT_OPTS=-Xmx1024m set JAVA_HOME=C:\JDK\1.6.0_17 set PATH=%JAVA_HOME%\bin;%ANT_HOME%\bin;%PATH%;C:\cvsnt : DEFAULT call ant -f %1 : DEBUG :call ant -debug -f %1 : XML LOGGER call ant -listener org.apache.tools.ant.XmlLogger -f %1 : Performance Monitoring :call ant -listener ise.antelope.common.AntPerformanceListener -f %1 : Mail Logger :call ant -logger org.apache.tools.ant.listener.MailLogger -DMailLogger.mailhost=... -DMailLogger.from=BuildServer -DMailLogger.failure.to=... -DMailLogger.success.to=... -f %1 pause Regards, Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org