[daisy] Cocoon build errors... The Saga Continues...
Bruno Dumon
bruno at outerthought.org
Wed Jun 6 12:02:30 CDT 2007
On Wed, 2007-06-06 at 12:24 -0400, Kevin wrote:
> 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?
I have no idea, the excludes should be empty. You could try to set the
excludes explicitely, the relevant section in the maven.xml is
<xpatch
file="${target}"
srcdir="${cocoon.xconf.dir}"
includes="**/*.${ext}"/>
>
> 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.
>
--
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