Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 344 invoked from network); 1 Sep 2003 20:23:10 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Sep 2003 20:23:10 -0000 Received: (qmail 84549 invoked by uid 500); 1 Sep 2003 20:22:52 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 84498 invoked by uid 500); 1 Sep 2003 20:22:51 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 84481 invoked from network); 1 Sep 2003 20:22:51 -0000 Received: from unknown (HELO ignitemedia.com) (64.157.167.108) by daedalus.apache.org with SMTP; 1 Sep 2003 20:22:51 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C370C6.C0F8CDE5" Subject: RE: can't build ant 1.6 Date: Mon, 1 Sep 2003 15:22:23 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: can't build ant 1.6 thread-index: AcNww8S8tVW+EemlT9OMGTMYm4fhjgAAavXK From: "Steve Cohen" To: "Ant Developers List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C370C6.C0F8CDE5 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I tried both with and without separate ./boostrap.sh commands, but I did = not build the way you suggest. My commands were ./bootstrap.sh ./build.sh -Ddist.dir=3Ddist dist-lite This used to work but no longer does. If there is a change to the recommended way of building Ant, methinks = that should be well-documented somewhere. -----Original Message----- From: Antoine Levy-Lambert [mailto:antoine@antbuild.com] Sent: Mon 9/1/2003 3:01 PM To: Ant Developers List Cc:=09 Subject: Re: can't build ant 1.6 Hi Steve, what I am doing to build ant 1.6 is : ./bootstrap.sh ./build.sh install-lite ant -D"test.haltonfailure=3Dno" test this sequence works for me. Maybe you get hit if you do not first run bootstrap.sh separately. There have been some changes involving copying xml-apis.jar and = Xerces.jar from lib to bootstrap/lib when building or bootstrapping ant, and = removing xml-apis.jar and Xerces.jar from the CLASSPATH of build.sh. Hopes this helps, Antoine ----- Original Message ----- From: "Steve Cohen" To: "Steve Cohen" ; Sent: Monday, September 01, 2003 7:14 PM Subject: RE: can't build ant 1.6 I've received no replies to this, so let me try again with a little more information. Previous versions of build.sh (or build.bat) contained = this sequence: LOCALCLASSPATH=3Dlib/xercesImpl.jar:lib/xml-apis.jar:bootstrap/lib/ant.ja= r # add in the dependency .jar files DIRLIBS=3Dlib/optional/*.jar for i in ${DIRLIBS} do if [ "$i" !=3D "${DIRLIBS}" ] ; then LOCALCLASSPATH=3D$LOCALCLASSPATH:"$i" fi done In the current version, it is like this: LOCALCLASSPATH=3D # add in the dependency .jar files DIRLIBS=3Dlib/optional/*.jar for i in ${DIRLIBS} do if [ "$i" !=3D "${DIRLIBS}" ] ; then LOCALCLASSPATH=3D$LOCALCLASSPATH:"$i" fi done The difference is that LOCALCLASSPATH is no longer being preset with xercesImpl.jar and xml-apis.jar before the optional directory is = scanned. The absence of these jars from the classpath was what led to the = failures below. Getting them onto the classpath solved the problem. But is this a bug? Or is it an undocumented requirement that ant be = built in an environment that has these or other such jars on the classpath? = Or is it a documented requirement and I've just been unable to find the documentation? -----Original Message----- From: Steve Cohen Sent: Sat 8/30/2003 5:09 PM To: ant-dev@jakarta.apache.org Cc: Subject: can't build. This is my first attempt to build ant in awhile. I downloaded a completely fresh source tree from cvs, made a couple of extremely minor changes, and then tried to build with build.sh. The bootstrap build successfully completes, but then when the main build = starts, I get this: [scohen@sleepingbear ~/ant]$ ./build.sh -Ddist.dir=3Ddist dist ANT_HOME=3Dbootstrap Buildfile: build.xml BUILD FAILED XML parser factory has not been configured correctly: java.lang.ClassNotFoundException: org.apache.xerces.jaxp.SAXParserFactoryImpl I don't understand this. My ant/lib directory contains (from the download) 927669 8-01-2003 1:45a -rw-rw-r-- /home/scohen/ant/lib/xercesImpl.jar 108484 6-01-2002 7:26a -rw-rw-r-- /home/scohen/ant/lib/xml-apis.jar What am I missing? I've never needed anything else to build ant. Has something changed in the build procedure? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org ------_=_NextPart_001_01C370C6.C0F8CDE5 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org ------_=_NextPart_001_01C370C6.C0F8CDE5--