[daisy] Problem running DaisyWiki 1.5
Kevin
hellosticky at gmail.com
Tue Jun 5 12:03:45 CDT 2007
Hi Bruno,
I reinstalled to c:\daisy, and it is the same issue. It says "Patching
C:\daisy\applications\daisywiki\frontend/target/xconf/*.xconf" and
then doesn't show the lines that yours shows.
I opened maven.xml in frontend and found this at the top:
| Note that you'll need at least Cocoon 2.1.4-dev for this to work because
| of a fixed bug in the xpatch task.
Where could I find this? I did a basic search in cocoon but couldn't find it.
Thanks,
Kevin
On 6/4/07, Bruno Dumon <bruno at outerthought.org> wrote:
> 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
>
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/site/services/daisy/daisysupport.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
>
More information about the daisy
mailing list