Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 29146 invoked from network); 6 Feb 2001 16:50:26 -0000 Received: from vu-vlsi.ee.vill.edu (153.104.44.229) by h31.sny.collab.net with SMTP; 6 Feb 2001 16:50:26 -0000 Received: from acadia.ee.vill.edu (acadia.ee.vill.edu [153.104.63.246]) by vu-vlsi.ee.vill.edu (8.11.1/8.8.2) with ESMTP id f16GmnP20819 for ; Tue, 6 Feb 2001 11:48:50 -0500 (EST) Received: (from thanneru@localhost) by acadia.ee.vill.edu (8.8.7/8.8.2) id LAA10331; Tue, 6 Feb 2001 11:48:49 -0500 (EST) Date: Tue, 6 Feb 2001 11:48:49 -0500 (EST) From: Shireesh Thanneru Sender: thanneru@ece.villanova.edu To: ant-user@jakarta.apache.org Subject: Re: Does Ant require a particular version of XML parser ? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Use fork="yes" for the Java task. Shireesh Thanneru --- Yusuf Goolamabbas wrote: > Hi, I am trying to use ant to compile one of the sample program > [SimpleTransform.java] in Xalan 2.0. I downloaded Xalan 2.0 and > installed xalan.jar and xerces.jar [the one which was distributed > alongwith xalan in $HOME/classes] > > From the command line, I was able to do the following > > javac -cp $HOME/classes/xerces.jar:$HOME/classes/xalan.jar:. > SimpleTransform.java > java -cp $HOME/classes/xerces.jar:$HOME/classes/xalan.jar:. > SimpleTransform > > and everything works, when I write the following build.xml file. I can > get the compile targe to work but the run target gives the error > attached > > > > > > > > > > /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Is there some mismatch of the XML parser or am I doing something wrong ? > > -- > Yusuf Goolamabbas > yusufg@outblaze.com > > Searching for build.xml ... > Buildfile: /home/yusufg/work/style/build.xml > > compile: > > run: > > BUILD FAILED > > /home/yusufg/work/style/build.xml:35: > javax.xml.transform.TransformerConfigurationException: Namespace not > supported by SAXParser > javax.xml.transform.TransformerConfigurationException: Namespace not > supported by SAXParser > at > org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:650) > at SimpleTransform.main(SimpleTransform.java:34) > at java.lang.reflect.Method.invoke(Native Method) > at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java) > at org.apache.tools.ant.taskdefs.Java.run(Java.java) > at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java) > at org.apache.tools.ant.taskdefs.Java.execute(Java.java) > at org.apache.tools.ant.Target.execute(Target.java) > at org.apache.tools.ant.Project.runTarget(Project.java) > at org.apache.tools.ant.Project.executeTarget(Project.java) > at org.apache.tools.ant.Project.executeTargets(Project.java) > at org.apache.tools.ant.Main.runBuild(Main.java) > at org.apache.tools.ant.Main.main(Main.java) > ---------