You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2004/06/15 19:10:49 UTC

DO NOT REPLY [Bug 29580] New: - buil.bat fail with Ant 1.6.1

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29580>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29580

buil.bat fail with Ant 1.6.1

           Summary: buil.bat fail with Ant 1.6.1
           Product: JMeter
           Version: 2.0.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: benjamin.francisoud@netcourrier.com


In build.bat (also in build.sh but I have no way to test) with ant 1.6.1.
I get this error:

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/tools/ant/launch/AntMain
        at java.lang.ClassLoader.defineClass0(Native Method)

You should replace the line:
    java -classpath %LOCALCLASSPATH% org.apache.tools.ant.Main -buildfile %
BUILDFILE% %1 %2 %3 %4 %5 %6
with 
    ant -buildfile %BUILDFILE% %1 %2 %3 %4 %5 %6
because there is no more Main under this package in ant 1.6.1

I think this line car be replace safely because you already have a "JAVA_HOME" 
and "ANT_HOME" check in the build.bat

Additionnal informations:
C:\jakarta-jmeter-2.0.1-src>ant -version
Apache Ant version 1.6.1 compiled on February 12 2004

Actually I'm using JMeter 2.0.1 version

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org