Discussion:
Buildění manuálu někdy spadne
(too old to reply)
Tomas.Waller
2011-11-08 13:18:16 UTC
Permalink
Dobrý den!

Při buildění dokumentaci, jejíž největší částí je manuál, buildění spadne. Buildění začíná právě builděním eclipsího helpu manuálu. Když se buildí manuál jako součást eclipsího helpu na masteru, proběhne vše OK, když ne, dopadne to takto:

generate-html-chunk:
[echo] /data/hudson/workspace/cloveretl.doc-trunk/cloveretl.doc/manual/manual
[mkdir] Created dir: /data/hudson/workspace/cloveretl.doc-trunk/cloveretl.doc/build/html_chunk/manual
[copy] Copying 589 files to /data/hudson/workspace/cloveretl.doc-trunk/cloveretl.doc/build/html_chunk/manual
[echo] Generating documentation manual to /data/hudson/workspace/cloveretl.doc-trunk/cloveretl.doc/build/html_chunk/manual
[java] java.lang.StringIndexOutOfBoundsException: String index out of range: -1
[java] at java.lang.String.substring(String.java:1937)
[java] at java.lang.String.substring(String.java:1904)
[java] at org.apache.xml.resolver.helpers.PublicId.normalize(PublicId.java:66)
[java] at org.apache.xml.resolver.Catalog.resolveLocalPublic(Catalog.java:1579)
[java] at org.apache.xml.resolver.Catalog.resolvePublic(Catalog.java:1509)
[java] at org.apache.xml.resolver.Resolver.resolvePublic(Resolver.java:277)
[java] at org.apache.xml.resolver.tools.CatalogResolver.getResolvedEntity(CatalogResolver.java:145)
[java] at org.apache.xml.resolver.tools.ResolvingXMLFilter.resolveEntity(ResolvingXMLFilter.java:173)
[java] at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source)
[java] at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
[java] at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
[java] at org.apache.xerces.impl.XMLDTDScannerImpl.startPE(Unknown Source)
[java] at org.apache.xerces.impl.XMLDTDScannerImpl.skipSeparator(Unknown Source)
[java] at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown Source)
[java] at org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown Source)
[java] at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
[java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.xinclude.XIncludeHandler.handleIncludeElement(Unknown Source)
[java] at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
[java] at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
[java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
[java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
[java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.xinclude.XIncludeHandler.handleIncludeElement(Unknown Source)
[java] at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
[java] at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
[java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
[java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
[java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[java] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
[java] at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333)
[java] at org.apache.xml.resolver.tools.ResolvingXMLFilter.parse(ResolvingXMLFilter.java:141)
[java] at com.icl.saxon.om.Builder.build(Builder.java:265)
[java] at com.icl.saxon.Controller.transform(Controller.java:977)
[java] at com.icl.saxon.StyleSheet.processFile(StyleSheet.java:508)
[java] at com.icl.saxon.StyleSheet.doMain(StyleSheet.java:330)
[java] at com.icl.saxon.StyleSheet.main(StyleSheet.java:47)
[copy] Copying 1 file to /data/hudson/workspace/cloveretl.doc-trunk/cloveretl.doc/build/html_chunk/manual
[copy] Copying 1 file to /data/hudson/workspace/cloveretl.doc-trunk/cloveretl.doc/build/html_chunk/manual

Neporadí mi někdo, kde může být problém?

Paměť pro saxon je nastavena: -Xmx1536M. Pro fop je to stejné, tam to ale (myslím) nepadá. Padá vlastně jen eclipse help.

Předem děkuji.

Tomáš Waller
Jirka Kosek
2011-11-09 08:57:42 UTC
Permalink
Z toho popisu není úplně jasné, v čem se liší situace kdy to funguje od
té kdy to nefuguje.

Zkusil bych transformaci pustit mimo Ant a zapnout si v Saxonu trasovací
vÜstup pomocí parametru -t.

Z stack trace to vypadá, ÅŸe nějakÃœ problém nastal při načítání DTD přes
katalog, ale je divné, şe pro jiné vÜstupy to fungovalo.
--
------------------------------------------------------------------
Jirka Kosek e-mail: ***@kosek.cz http://www.kosek.cz
------------------------------------------------------------------
Profesionální školení a poradenství v oblasti technologií XML.
PodrobnÃœ přehled Å¡kolení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
http://docbook.cz Stránky o dokumentačním formátu DocBook
http://xmlguru.cz Blog mostly about XML for English readers
------------------------------------------------------------------
Loading...