ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dineshram" <dinesh...@pinksheets.com>
Subject RE: problems running ant
Date Wed, 20 Jun 2001 21:11:34 GMT
the follwing suggestion helped me a lot. my problem got fixed. its basically
with the
JAVA_HOME. since my jdk is in Program Files directory. the space between
Program and
Files is the source of my problem. I moved the jdk under E:\ and now its
working fine.

Thanks all for your valuable help,
dinesh


-----Original Message-----
From: Bendfelt, Tim (MED, nVisia, GEMS-IT)
[mailto:Timothy.Bendfelt@med.ge.com]
Sent: Wednesday, June 20, 2001 1:31 PM
To: 'ant-user@jakarta.apache.org'
Subject: RE: problems running ant




>>>>>
and my ant.bat file looks like this

@echo off
if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat"
if not "%OS%"=="Windows_NT" goto win9xStart
...
<<<

I had this problem and traced it to an improper JAVA_HOME value that NT
mysteriously changed. keep echo on ( i.e. REM @echo off) and it will be
easy to debug the actual parameters that ant is getting called with.

Tim


Mime
View raw message