Michael Wechner wrote:
the build process should actually fail if no Cocoon source dir exists.
Also within the build.properties the branch of Cocoon 2.1.X is listed,
so I am not sure why you didn't become aware of this. I don't want
criticize you, but rather learn what we need to do to make this more
clear.
Any feedack welcome ...
Glad you asked ... ;-) My problem was (
http://lenya.apache.org/1_4/installation/source_version.html ) where it
says:
"In 1.4, the Lenya build process takes care of building Cocoon as well."
That is not quite accurate. You MUST build cocoon first, before
building lenya. The lenya build will fail because the cocoon anttask
.class files do not exist yet.
BUILD FAILED
/export/home/ray/src/lenya/build.xml:49: The following error occurred
while executing this line:
/export/home/ray/src/lenya/src/targets/properties-build.xml:114: taskdef
class XConfToolTask cannot be found
After you build cocoon, lenya will build cocoon again ;-).
--
Ray Allis wrote:
I don't understand how this is supposed to work
Here is lenya: 5346629 Jul 23 14:03 apache-lenya-1.4alpha1-src.tar.gz
Here is cocoon: 41950734 Jul 24 22:08 cocoon-2.1.7-src.tar.gz
... unpacked into $HOME/src
586 gzip -dc ../cocoon-2.1.7-src.tar.gz | gtar xvf -
Here is the find on the result:
588 metaphor /export/home/ray/src:find . -name anttasks
./lenya/tools/anttasks
./cocoon-2.1.7/tools/src/anttasks
589 metaphor /export/home/ray/src:
There is no cocoon/tools/anttasks, and tools/src/anttasks contains no
class files.
... so this error is exactly correct, isn't it?
595 metaphor /export/home/ray/src/lenya:./build.sh
Buildfile: build.xml
BUILD FAILED
/export/home/ray/src/lenya/build.xml:49: The following error occurred
while executing this line:
/export/home/ray/src/lenya/src/targets/properties-build.xml:114:
taskdef class XConfToolTask cannot be found
Total time: 4 seconds
--
In fact, there is no XConfToolTask.class anywhere in the cocoon
directory. So, how do I fix this?
--
Ray Allis
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]