[daisy] Cocoon build errors... The Saga Continues...

Kevin hellosticky at gmail.com
Wed Jun 6 11:24:42 CDT 2007


Hi Bruno, thank you, I'll check it out.

Yes, I think those errors probably were caused by my changes.

I did further analysis back on the normal "maven" build. I took out my
special casing and added debug to ant, and found this problem:

    [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 ...
KEVIN: C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\xconf,C:\workspaces\housek
eeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\cocoon\webapp\WEB-INF\cocoon.xconf
KEVIN: getDirectoryScanner:
C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\xconf
,true
KEVIN: getDirectoryScanner: org.apache.commons.grant.GrantProject at 51127a
KEVIN: getDirectoryScanner: creating, true
KEVIN: scan: entry
KEVIN: scan: includes=[Ljava.lang.String;@186dda3,excludes=[Ljava.lang.String;@1412e75
KEVIN: scan include=C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\xconf\*.xconf

KEVIN: scan exclude=C:\workspaces\housekeeping\Daisy-wiki-1.5.1-src\applications\daisywiki\frontend\target\xconf\*.xconf

As you can see, the include equals the exclude. Why could this be?

Also, the "maven cocoon.get" uses ant.jar from
C:\java\cocoon-2.1.9\tools\lib, which is ant 1.6.5, and the "maven"
task uses ant.jar from C:\java\maven\maven1.0.2\lib, except that it is
specifically looking for ant-1.5.3-1.jar. I tried replacing that with
ant 1.6.5, but that failed (there is some kind of dependency on the
old ant). For the above debug, i'm building ant 1.5 source.

Thanks,
Kevin


On 6/6/07, Bruno Dumon <bruno at outerthought.org> wrote:
> See attachment. This is for current Daisy trunk so there might be small
> differences.
>
> BTW, the error you get might be related to the customisations you made
> to the xconf task?
>
> On Wed, 2007-06-06 at 10:42 -0400, Kevin wrote:
> > Hi,
> >
> > I went back and did a "maven cocoon.get" and noticed build errors now
> > (although it says build successful):
> >
> >     [exec] C:\java\cocoon-2.1.9\build\cocoon\temp\blocks-build.xml:157:
> > IOException: java.io.FileNotFoundException:
> > C:\java\cocoon-2.1.9\src\blocks\ajax\xmlbeans-convertor.xconf (The
> > system cannot find the file specified)
> >
> > Interestingly, the XConfToolTask is actually finding files in certain
> > cases (my debug lines start with KEVIN: and list[x] is each file
> > found).
> >
> > Bruno, could you please send me your output of cocoon.get so I could
> > see all of the "Processing: " lines in the XConfToolTasks? I don't
> > think --debug is necessary.
> >
> > 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