Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 51250 invoked by uid 500); 10 Jun 2003 03:50:34 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 51239 invoked from network); 10 Jun 2003 03:50:33 -0000 Received: from unknown (HELO bro01smtpgxs.ohctr.gxs.com) (204.90.187.18) by daedalus.apache.org with SMTP; 10 Jun 2003 03:50:33 -0000 Received: from roc02bxhgeisge.internal.gxs.com ([10.160.16.235]) by bro01smtpgxs with InterScan Messaging Security Suite; Mon, 09 Jun 2003 23:54:06 -0400 Received: by roc02bxhgeisge.internal.gxs.com with Internet Mail Service (5.5.2656.59) id ; Mon, 9 Jun 2003 23:51:52 -0400 Message-ID: <3771DD0767EB764AA9AA1D2758B9768E40F54A@ban01bxgxs.internal.gxs.com> From: "Das, Sourabh (GXS)" To: Ant Users List Subject: RE: Build Failed : javax.xml.parsers.FactoryConfigurationError Date: Mon, 9 Jun 2003 23:49:17 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C32F03.44A69100" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C32F03.44A69100 Content-Type: text/plain; charset="iso-8859-1" I checked using the below procedure and found that the same ant components are referenced in env.CLASSPATH as is mentioned in build.sh script from which I am calling build.xml Are there any changes that need to be done if we move to a higher version of Ant apart from changing the ANT_HOME or associated jar files (if any)? I am still able to use the build files with Ant 1.3 -----Original Message----- From: W. Sean Hennessy [mailto:shennessy@goldenhourdata.com] Sent: Friday, June 06, 2003 9:09 PM To: Ant Users List Subject: RE: Build Failed : javax.xml.parsers.FactoryConfigurationError Perhaps incompatible SAXParser is being picked up as a result of the change. using on this Windoze box and a combination of the debug and logfile options on the ant cmd line, "-debug -logfile wtf.log", exposes the values of env.CLASSPATH, env.LOCALCLASSPATH. You might want to confirm that the correct ant components are being referenced. -----Original Message----- From: Das, Sourabh (GXS) [mailto:Sourabh.Das@gxs.com] Sent: Friday, June 06, 2003 6:01 AM To: user@ant.apache.org Subject: Build Failed : javax.xml.parsers.FactoryConfigurationError Hi, I was having a shell script build.sh from which I used to call the build.xml file through the command: java -cp $CLASSPATH -Dant.home=$ANT_HOME org.apache.tools.ant.Main $1 $2 $3 $4 This was working fine till recently I moved from Ant 1.3 to Ant 1.4.1 after which everytime, during execution I am getting the error message: BUILD FAILED javax.xml.parsers.FactoryConfigurationError: com.sun.xml.parser.SAXParserFactoryImpl at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java) at org.apache.tools.ant.ProjectHelper.getParserFactory(ProjectHelper.java) at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java) at org.apache.tools.ant.Main..... I have both jaxp.jar and xerces.jar in my classpath, same as I was using earlier. Can anyone please let me know at the earliest why is this error coming and how to resolve this? Thanks, Sourabh --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ------_=_NextPart_001_01C32F03.44A69100--