[daisy] Problem running DaisyWiki 1.5

Kevin hellosticky at gmail.com
Mon Jun 4 14:29:05 CDT 2007


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

On 5/31/07, Bruno Dumon <bruno at outerthought.org> wrote:
> On Thu, 2007-05-31 at 13:58 -0400, Kevin wrote:
> > Sorry about that. Output of "maven" attached.
> >
>
> Found the problem, this section should list all the files being
> processed, and there are none at all:
>
> cocoon.xconf:
>    [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 ...
>    [echo] Patching C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend/target/cocoon/webapp/WEB-INF/logkit.xconf with C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend/target/xconf/*.xlog ...
>    [echo] Patching C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend/target/cocoon/webapp/sitemap.xmap with C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend/target/xconf/*.xmap ...
>    [echo] Patching C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend/target/cocoon/webapp/WEB-INF/web.xml with C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend/target/xconf/*.xweb ...
>
> Just a wild guess: try the following:
>
> copy xercesImpl-2.7.1.jar and xml-apis-1.3.02.jar which you find in
> <cocoon dir>/lib/endorsed to <maven home>/lib/endorsed, and then try
> running maven again.
>
> --
> 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