You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Stephan Michels <st...@apache.org> on 2003/02/25 17:26:20 UTC
New build system
First of all, thank you for refactoring the build system.
I tried to the build the webapp with samples, but I got
following errors.
----------------------------------------------------------
prepare-webapp-samples:
[copy] Copying 1 file to
/home/stephan/Projekte/xml-cocoon2/build/webapp/WEB-INF/lib
[xpatch] Reading:
/home/stephan/Projekte/xml-cocoon2/build/webapp/samples/sitemap.xmap
BUILD FAILED
file:/home/stephan/Projekte/xml-cocoon2/build.xml:610: IOException:
java.io.FileNotFoundException:
/home/stephan/Projekte/xml-cocoon2/build/webapp/samples/sitemap.xmap (No
such file or directory)
----------------------------------------------------------
I saw that the src/webapp/samples don't be copied, so I add
<copy todir="${build.webapp}/samples">
<fileset dir="${webapp}/samples"/>
</copy>
to prepare-webapp-samples
Then I got the next error:
----------------------------------------------------------
chaperon-samples:
[copy] Copying 46 files to
/home/stephan/Projekte/xml-cocoon2/build/webapp/samples/chaperon
[xpatch] Reading:
/home/stephan/Projekte/xml-cocoon2/$/samples/samples.xml
BUILD FAILED
file:/home/stephan/Projekte/xml-cocoon2/build/cocoon-2.1-dev/temp/blocks-build.xml:339:
IOException: java.io.FileNotFoundException:
/home/stephan/Projekte/xml-cocoon2/$/samples/samples.xml (No such file or
directory)
----------------------------------------------------------
It seems to me that the XSLT processor has problem
the the expression "{string('${build.blocks}')}".
Am I the only one how got this error?
BTW, shouldn't be ${build.webapp} build/cocoon-2.1-dev/webapp insteadof
build/webapp/ ?
Stephan.
_______________________________________________________________________
Stephan Michels EMail: stephan@apache.org
ICQ: 115535699 Tel: +49-030-314-21583
----+----|----+----|----+----|----+----|----+----|----+----|----+----|-|