Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Delivered-To: moderator for tomcat-dev@jakarta.apache.org Received: (qmail 99161 invoked from network); 21 Jun 2000 18:50:12 -0000 Received: from iocfirewall2ext.bls.com (HELO blsmsgims01.bls.com) (139.76.64.4) by locus.apache.org with SMTP; 21 Jun 2000 18:50:12 -0000 Received: from SMTP (blsmsgims01.bls.com [139.76.86.20]) by blsmsgims01.bls.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id M7GPMRBH; Wed, 21 Jun 2000 14:49:42 -0400 Received: from om6.al.bst.bls.com ([90.11.245.88]) by 139.76.86.20 (Norton AntiVirus for Internet Email Gateways 1.0) ; Wed, 21 Jun 2000 18:49:42 0000 (GMT) Received: from localhost (root@localhost) by om6.al.bst.bls.com (8.8.6 (PHNE_17135)/8.8.6) with SMTP id NAA13609 for tomcat-dev@jakarta.apache.org; Wed, 21 Jun 2000 13:49:03 -0500 (CDT) From: Lian.Colburn@bridge.bellsouth.com X-OpenMail-Hops: 1 Date: Wed, 21 Jun 2000 13:48:57 -0500 Message-Id: In-Reply-To: Subject: Error build sample on NT4 SP5 - latest release build of tomcat - JDK 1.2.2 MIME-Version: 1.0 TO: Lian.Colburn@bridge.bellsouth.com, tomcat-dev@jakarta.apache.org Content-Type: text/plain; charset=US-ASCII; name="Error" Content-Disposition: inline; filename="Error" Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I posted this message some time back, here's something I've done to make it work. I thought other people might benefit from this: 1. The first build.XML property tag: This gets rid of the Java exception. (Tom from tech@thomassmith.com has helped me on this.) 2. After step one, you'll run into "BUILD FATAL ERROR: srcdir does not exist!" error, to solve this, you can either create a empty directory: %TOMCAT_HOME%\doc\appdev\sample\lib or alernatively, you can delete the reference line from the build.xml: ======================= !!! delete this line!!! ^^^^^^^^^Delete the above line^^^^^^^^^^^^^^^ =========================== 3. After that I got NoClassDefined exception for: sun.tools.javac.Main, I added the following line in the build.bat: ========================================== :restofclasspath ^^^^^^^^^Newly added started CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar ^^^^^^^^^Newly added end set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\ant.jar ========================================== That's it. Good luck! -Lian Colburn (205)977-1646 =->I'm new here, I downloaded the latest Tomcat release build, and I'm having =->trouble building the sample program in the the doc directory, here's the error =->message I got: =-> =->" Buildfile: build.xml =->BUILD CONFIG ERROR: Can't open config file: build.xml due to: =->org.xml.sax.SAXParseException: Attribute names must not start with "<" =->characters. " =-> =->Here's my environment setting: =->Windows NT 4.0 Release 5 =->Sun JDK 1.2.2 =-> =->I had no trouble starting the Tomcat. I guess I must have just missed something =->important/obvious? =-> =->( I do have Apache server running, it should not matter, but I just want to =->mention it) =-> =->Thanks. =-> =->-Lian Colburn =-> =-> =-> =-> =->--------------------------------------------------------------------- =->To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org =->For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org =-> =->