We have successfully added some new functionality into
our copy of the public release of Apache Cocoon 2.0b2
This involved some tweaks to core code to hook in another
Java package. All went smoothly (adding our jar file
into $COCOON_HOME/lib and edits to src/org/...). Re-build
is fine and our new functionality works as expected.

However, then i CVS checkout the whole cocoon_20_branch
and try to verify that our changes work with the most
recent code. The initial build is fine. Then i make the
exact same mods and try to re-build. Ant bombs with the
following obscure error and does not even get through
init phase. ant -v or ant -debug do not shed any light.

A workaround solution is to rename our jar file so that
it begins with "z" i.e. zcatalog.jar
Now re-build runs perfectly. Why is that hack needed?

Linux RedHat 7.1
java.vm.version=Blackdown-1.3.1-FCS
jakarta-tomcat-3.2.2

Help please, days have been wasted trying to get past this.
thanks, David Crossley

=================================================
Apache Cocoon 2 Build System
----------------------------
Buildfile: build.xml

BUILD FAILED

java.lang.NoSuchMethodError
at 
org.xml.sax.helpers.XMLReaderAdapter$AttributesAdapter.getName(XMLReaderAdapter.java:470)
at org.apache.tools.ant.ProjectHelper$ProjectHandler.init(ProjectHelper.java:288)
at org.apache.tools.ant.ProjectHelper$RootHandler.startElement(ProjectHelper.java:262)
at org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:329)
at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1191)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1862)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1005)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85) 
at org.apache.tools.ant.Main.runBuild(Main.java:403)
at org.apache.tools.ant.Main.main(Main.java:149)
=================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to