ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DoNOTuseREPLY" <>
Subject Re: Ant 1.5.1 on Windows ME
Date Sat, 01 Feb 2003 20:33:51 GMT
I haven't seen an answer so ...
See:  ANT: KJS#00001 %SystemDrive% (c.a. 20030120)

It may be that winME is like win9x:  %SystemDrive% is NOT defined.  The
ant.bat script expects it to be and it is on NT and XP because they have
this environment variable defined.  Type "set" without the quotes at the
command prompt.  If it is not there, then do "set SystemDrive=<drive>:"
without the quotes.

The documentation is silent on this!

I never got a reply to my question.  I just had to continue to rewrite the
ant.bat script until I found this ant "oops!"

As an after thought, the Perl is not so affected.  I was able to
confirm my Ant installation was intact and good-to-go.  So I could focus on
the winScript and locate the problem.

Hope this helps.

----- Original Message -----
From: "Chappell, Simon P" <>
To: "Ant User Mailing List (E-mail)" <>
Sent: Monday, January 27, 2003 2:47 PM
Subject: Ant 1.5.1 on Windows ME

> I am successfully and happily running ant on Windows 2K, Linux and Mac OS
X, but now that my wife is surrendering my Windows ME laptop back to me for
portable tinkering, I am having great frustrations getting ant 1.5.1 to work
on it.
> With JDK 1.4.1 and 1.3.1, I get the "ANT_HOME is set incorrectly or ant
could not be located. Please set ANT_HOME" message. I have both JAVA_HOME
and ANT_HOME set and the appropriate entries added to PATH. I run without a
CLASSPATH environment variable, does that make a difference on Windows ME? I
read through a bunch of the ant mailing list archive, but the only thing I
could find was a refernce to a trailing backslash that one person had on
their ANT_HOME environment variable. I have checked that and my environment
variables look correct.
> Because it's the only personal Windows box that I have and I have a couple
of games that I still like to play on it, I'd rather not reformat and
install Linux, but if necessary, I will. Any and all help appreciated.
> Simon
> -----------------------------------------------------------------
> Simon P. Chappell           
> Java Programming Specialist            
> Lands' End, Inc.                                   (608) 935-4526
> --
> To unsubscribe, e-mail:   <>
> For additional commands, e-mail: <>

View raw message