You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/11/17 10:10:17 UTC

BugRat Report #403 has been filed.

Bug report #403 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/403>

REPORT #403 Details.

Project: Ant
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: critical
Confidence: public
Environment: 
   Release: ant1.1
   JVM Release: jdk1.3
   Operating System: windows98 english
   OS Release: second edition
   Platform: pc

Synopsis: 
Can't run ant.bat under windows 98

Description:
I have the following error message when I run the ant. The problem seems to be due to the limiation of MS-Dos command prompt and the ant.bat can't be run completely. :

********** error display **********************
D:\>ant

D:\>rem @echo off
                 rem find ANT_HOME
                                  if not "d:\jakarta\ant1.1\jakart~1\bin"=="" go
to checkJava

            rem check for ant in Program Files on system drive
                                                              if not exist "\Pro
gram Files\ant" goto checkSystemDrive
                                     set ANT_HOME=\Program Files\ant
                                                                    goto checkJa
va

  :checkSystemDrive
                   rem check for ant in root directory of system drive
                                                                      if not exi
st "\ant" goto noAntHome
                        set ANT_HOME=\ant
                                         goto checkJava

                                                       :noAntHome
                                                                 echo ANT_HOME i
s not set and ant could not be located. Please set ANT_HOME.
                                                            goto end

                                                                    :checkJava
                                                                              if
 "" == "" set JAVACMD=java

                          set LOCALCLASSPATH=c:\progra~1\interb~1\interc~1\inter
client.jar;d:\jakarta\ant1.1\jakart~1\bin\lib\jaxp.jar;d:\jakarta\ant1.1\jakart~
1\bin\lib\parser.jar;d:\jakarta\ant1.1\jakart~1\bin\lib\ant.jar
                                                               for %i in (d:\jak
arta\ant1.1\jakart~1\bin\lib\*.jar) do call d:\jakarta\ant1.1\jakart~1\bin\bin\l
cp.bat %i

         if "d:\sun\jdk1.3\bin" == "" goto runAnt
                                                 if exist d:\sun\jdk1.3\bin\lib\
tools.jar call d:\jakarta\ant1.1\jakart~1\bin\bin\lcp.bat d:\sun\jdk1.3\bin\lib\
tools.jar
         if exist d:\sun\jdk1.3\bin\lib\c
Bad command or file name