cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <Giacomo.P...@pwr.ch>
Subject Re: [C2] parser.jar
Date Wed, 14 Jun 2000 19:33:58 GMT
Ross Burton wrote:
> 
> > > Just noticed: parser.jar is not needed to build Cocoon 2 - Ant uses JAXP
> but
> > > the full Xerces.jar file has JAXP support built in.
> 
> > If I remove parser.jar I have no chance to build cocoon2. Did you
> eventualy have parser.jar in
> > your classpath? A "build" gives me the following error:
> 
> > javax.xml.parsers.FactoryConfigurationError:
> com.sun.xml.parser.SAXParserFactoryImpl
> > at
> javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:84)
> > at
> org.apache.tools.ant.ProjectHelper.getParserFactory(ProjectHelper.java:513)
> > at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:102)
> > at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
> > at org.apache.tools.ant.Main.main(Main.java, Compiled Code)
> > Exception in thread "main"
> 
> I'll check later to make sure I am not going mad, but when I editied
> build.sh so that it didn't import my classpath, I only got errors from Jikes
> being unable to find java/lang  -  the XML was parsed fine.  Do you have a
> copy of JAXP in your classpath - that is included in Xerces too.

I've made a fresh checkout, moved the parser.jar out of ./lib, modified
the build.sh to exclude parser.jar from the classpath, cleard the shells
classpath and hit a build.sh which gives me the error mentioned above.
So, check your env, Ross :)

Giacomo

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch

Mime
View raw message