Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 34615 invoked from network); 28 Feb 2000 20:52:43 -0000 Received: from lukla.sun.com (192.18.98.31) by locus.apache.org with SMTP; 28 Feb 2000 20:52:43 -0000 Received: from centralmail2.Central.Sun.COM ([129.147.62.11]) by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id NAA13625 for ; Mon, 28 Feb 2000 13:52:40 -0700 (MST) Received: from durango.Central.Sun.COM (durango.Central.Sun.COM [129.147.71.2]) by centralmail2.Central.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id NAA21593 for ; Mon, 28 Feb 2000 13:52:39 -0700 (MST) Received: from sunray11 (sunray11 [129.147.71.13]) by durango.Central.Sun.COM (8.8.8+Sun/8.8.8) with SMTP id NAA21757 for ; Mon, 28 Feb 2000 13:52:37 -0700 (MST) Message-Id: <200002282052.NAA21757@durango.Central.Sun.COM> Date: Mon, 28 Feb 2000 13:52:38 -0700 (MST) From: Arieh Markel Reply-To: Arieh Markel Subject: Build problems with M2 (was Re: Announcing v3.1_m2_rc2 for Tomcat, Watchdog, and Ant) To: tomcat-dev@jakarta.apache.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: BuxnyJlP24fdTC7yscSdzw== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.5 SunOS 5.7 sun4u sparc X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I am trying to verify that what I downloaded builds and performs successfully. I am running into problems in building jakarta-watchdog. The setup appears to need finding moo.jar in the CLASSPATH. I had built the jakarta-tools first, and created the moo.jar. I modified the build.sh on jakarta-watchdog to add moo.jar to the CLASSPATH, without much success. Below you can see the complaints. Not clear the issue of the magic number : amarkel@snapshot [211]; sh build.sh /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/jakarta-watchdog ..... Building with classpath /ws/sx1.0-tools/jakarta/latest/dist/tomcat/lib/xml.jar:/ws/sx1.0-tools/Solaris_J DK_1.2.1_04b/bin/../lib/tools.jar:/ws/sx1.0-tools/jakarta/latest/dist/tomcat/lib /servlet.jar:../jakarta-ant/lib/ant.jar:../jakarta-ant/lib/xml.jar:../jakarta-to ols/servlet-2.2.0.jar:../dist/tomcat/lib/moo.jar Buildfile: build.xml count = 0, total = 119 Project base dir set to: /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/jakarta-watchdog The items attribute is deprecated. Please use the includes attribute. The items attribute is deprecated. Please use the includes attribute. The items attribute is deprecated. Please use the includes attribute. The items attribute is deprecated. Please use the includes attribute. The items attribute is deprecated. Please use the includes attribute. Executing Target: prepare Executing Target: main Compiling 9 source files to /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/build/watchdog/webapps/servlet-tests/WEB-INF /classes count = 0, total = 119 Compiling 6 source files to /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/build/watchdog/webapps/jsp-tests/WEB-INF/cla sses count = 0, total = 119 Compiling 5 source files to /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/build/watchdog/webapps/jsp-tests/WEB-INF/cla sses count = 0, total = 119 error: Invalid class file format in /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/build/watchdog/webapps/jsp-tests/WEB-INF/cla sses/org/apache/tools/moo/TestableBase.class. wrong magic: -678320450, expected -889275714 /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/jakarta-tools/moo/src/share/org/apache/tools /moo/ParameterizedTest.java:69: Superclass org.apache.tools.moo.TestableBase of class org.apache.tools.moo.ParameterizedTest not found. public abstract class ParameterizedTest extends TestableBase { ^ error: Invalid class file format in /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/build/watchdog/webapps/jsp-tests/WEB-INF/cla sses/org/apache/tools/moo/servlet/Constants.class. wrong magic: -678320450, expected -889275714 /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/jakarta-tools/moo/src/share/org/apache/tools /moo/servlet/CoreServletTest.java:3: Class org.apache.tools.moo.servlet.Constants not found in import. import org.apache.tools.moo.servlet.Constants; ^ error: Invalid class file format in /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/build/watchdog/webapps/jsp-tests/WEB-INF/cla sses/org/apache/tools/moo/Testable.class. wrong magic: -678320450, expected -889275714 /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/jakarta-tools/moo/src/share/org/apache/tools /moo/servlet/GenericClientTest.java:26: Interface org.apache.tools.moo.Testable of class org.apache.tools.moo.servlet.GenericClientTest not found. implements Testable { ^ /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/jakarta-tools/moo/src/share/org/apache/tools /moo/servlet/GenericServletTest.java:3: Class org.apache.tools.moo.servlet.Constants not found in import. import org.apache.tools.moo.servlet.Constants; ^ /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/jakarta-tools/moo/src/share/org/apache/tools /moo/RunTest.java:122: Class org.apache.tools.moo.Testable not found. Testable obj=null; ^ /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/jakarta-tools/moo/src/share/org/apache/tools /moo/RunTest.java:124: Class org.apache.tools.moo.Testable not found. obj = (Testable)Class.forName(testClassName).newInstance(); ^ error: Invalid class file format in /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/build/watchdog/webapps/jsp-tests/WEB-INF/cla sses/org/apache/tools/moo/TestResult.class. wrong magic: -678320450, expected -889275714 /ws/sx1.0-tools/jakarta/v3.1_m2_rc2/jakarta-tools/moo/src/share/org/apache/tools /moo/RunTest.java:137: Class org.apache.tools.moo.TestResult not found. TestResult testResult = null; ^ 11 errors BUILD FATAL ERROR: Compile failed, messages should have been provided. --- I have also tried to follow the instructions of the jakarta-tomcat README file with regards to 'build test'. I was unable to verify the build. --- It is not clear to me that I am doing something wrong. If I am, please someone point me at what it is. Thanks, Arieh -- Arieh Markel Sun Microsystems Inc. Network Storage 500 Eldorado Blvd. MS UBRM11-194 e-mail: arieh.markel@sun.COM Broomfield, CO 80021 Let's go Panthers !!!! Phone: (303) 272-8547 x78547 (e-mail me with subject SEND PUBLIC KEY to get public key)