[daisy] Problem running DaisyWiki 1.5
Bruno Dumon
bruno at outerthought.org
Mon Jun 4 14:56:50 CDT 2007
This is the sort of output one normally gets (without debugging):
cocoon.xconf:
[echo] Patching /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/cocoon/webapp/WEB-INF/cocoon.xconf with /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/*.xconf ...
[xpatch] Processing: /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/xmlbeans-convertor.xconf
[xpatch] Processing: /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/sites-manager.xconf
[xpatch] Processing: /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/bookstore.xconf
[xpatch] Processing: /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/wikidata-source.xconf
And with debugging it is like this:
[xpatch] Processing: /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/xmlbeans-convertor.xconf
[xpatch] [DEBUG] Reading: file:/home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/sites-manager.xconf
[xpatch] Processing: /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/sites-manager.xconf
[xpatch] [DEBUG] Reading: file:/home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/htmlcleaning-convertor.xconf
[xpatch] [DEBUG] Skipping: /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/htmlcleaning-convertor.xconf
[xpatch] [DEBUG] Reading: file:/home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/bookstore.xconf
[xpatch] Processing: /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/bookstore.xconf
[xpatch] [DEBUG] Reading: file:/home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/wikidata-source.xconf
[xpatch] Processing: /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/wikidata-source.xconf
[xpatch] [DEBUG] Reading: file:/home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/wfversionkey-convertor.xconf
[xpatch] Processing: /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/wfversionkey-convertor.xconf
[xpatch] [DEBUG] Reading: file:/home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/admin-locales.xconf
[xpatch] Processing: /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/admin-locales.xconf
[xpatch] [DEBUG] Reading: file:/home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/daisy-source.xconf
[xpatch] Processing: /home/bruno/projects/daisy/trunk/daisy/applications/daisywiki/frontend/target/xconf/daisy-source.xconf
When things are working, the output will be somewhat different on
subsequent maven runs because the patches will then already be applied.
Anyhow, it seems like it simply doesn't find the *.xconf, *.xlog, etc.
files on your system. I have no idea why. Maybe Windows limits on the
length of path names?
On each release I perform the builds for the .zip packages on Windows
(now XP, before 2000) and for me it works...
Anyone else ever had this problem? I'm out of ideas.
On Mon, 2007-06-04 at 15:29 -0400, Kevin wrote:
> Hi Bruno,
>
> Well, it's good that we know where the problem is now.
>
> I tried your suggestion, although maven was specifically looking for
> xml-apis-1.0.b2.jar and xerces-2.4.0.jar, even though the files in
> COCOON\lib\endorsed were xercesImpl-2.8.0.jar and xml-apis-1.3.03.jar.
> I backed up the jars that were already there, copied over the jars
> from cocoon and then renamed them to what maven was expected
> (otherwise maven failed immediately).
>
> It still didn't show any output when patching cocoon.xconf. I added
> the -debug option to maven and got:
>
> [echo] Patching
> C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend/target/cocoon/webapp/WEB-INF/cocoon.xconf
> with C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend/target/xconf/*.xconf
> ...
> [DEBUG] Class org.apache.tools.ant.types.XMLCatalog loaded from parent loader
> [DEBUG] Class java.io.File loaded from parent loader
> [DEBUG] Class java.lang.Boolean loaded from parent loader
> [xpatch] [DEBUG] Finding class DocumentCache
> [xpatch] [DEBUG] Class DocumentCache loaded from ant loader
> [xpatch] [DEBUG] Class java.io.FileNotFoundException loaded from
> parent loader
> [xpatch] [DEBUG] Class java.io.OutputStream loaded from parent loader
> [xpatch] [DEBUG] Class java.io.FileOutputStream loaded from parent loader
> [xpatch] [DEBUG] Class javax.xml.transform.Source loaded from parent loader
> [xpatch] [DEBUG] Class javax.xml.transform.Result loaded from parent loader
> [xpatch] [DEBUG] Class java.lang.Exception loaded from parent loader
> [xpatch] [DEBUG] Class java.io.Reader loaded from parent loader
> [xpatch] [DEBUG] Class java.io.StringReader loaded from parent loader
> [xpatch] [DEBUG] Class
> javax.xml.parsers.ParserConfigurationException loaded from parent
> loader
> [xpatch] [DEBUG] Class java.util.Map loaded from parent loader
> [xpatch] [DEBUG] Class java.util.HashMap loaded from parent loader
> [xpatch] [DEBUG] Class javax.xml.parsers.DocumentBuilderFactory
> loaded from parent loader
> [xpatch] [DEBUG] Class javax.xml.transform.TransformerFactory
> loaded from parent loader
> [xpatch] [DEBUG] Class java.net.URL loaded from parent loader
> [xpatch] [DEBUG] Class java.lang.StringBuffer loaded from parent loader
> [xpatch] [DEBUG] Reading:
> file:/C:/workspaces/housekeeping/Daisy-wiki-1.5.1-src/applications/daisywiki/frontend/target/cocoon/webapp/WEB-INF/cocoon.xconf
> [xpatch] [DEBUG] Class javax.xml.parsers.DocumentBuilder loaded
> from parent loader
> [xpatch] [DEBUG] fileset: Setup scanner in dir
> C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\xconf
> with patternSet{ includes:
> [C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend/target/xconf/*.xconf]
> excludes: [] }
> [xpatch] [DEBUG] Class org.apache.tools.ant.DirectoryScanner
> loaded from parent loader
> [xpatch] [DEBUG] Class java.util.ArrayList loaded from parent loader
> [xpatch] [DEBUG] No Changes:
> C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF\cocoon.xconf
> [xpatch] [DEBUG] Storing file in cache:
> C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF\cocoon.xconf
>
>
> Thanks,
> Kevin
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org bruno at apache.org
More information about the daisy
mailing list