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:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 1:31 PM
To: '[EMAIL PROTECTED]'
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

Reply via email to