Did you download xalan and put it in all of the endorsed directories? I
am not sure if this is the problem but you need xalan to run with Java
1.5. There is a long somewhat obscure trail of bug reports that you can
follow to find this out.
Ron
Ray Allis wrote:
Ron Wheeler wrote:
Just a wild guess. You might have to build Cocoon if you downloaded
the source.
You might try to build it and see if it puts the anttasks in a
different place during the build.
I have not yet tried to build lenya or Cocoon under Linux yet so I am
not sure if there is a difference between the zip packaging and the
tar packaging.
Ron
Yep. ;-) cocoon only comes in source. I have built it successfully
many times.
O.K., I ignored lenya's directions to not build cocoon, and I built it
anyway. Now the tools/src/anttasks get compiled into classes which
are put into tools/anttasks.
Now lenya build runs more than 4 seconds, but fails:
770 metaphor /export/home/ray/src/apache-lenya-1.4-dev-src:sh ./build.sh
Buildfile: build.xml
init:
------------------- Apache Lenya 1.4-dev [1999-2005] ----------------
Building with Apache Ant version 1.6.5 compiled on June 2 2005
Using build file /export/home/ray/src/apache-lenya-1.4-dev-src/build.xml
prepare-cocoon:
Copying 8287 files to
/export/home/ray/src/apache-lenya-1.4-dev-src/build/lenya/webapp
BUILD FAILED
java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
Total time: 4 minutes 23 seconds
771 metaphor /export/home/ray/src/apache-lenya-1.4-dev-src:
--
Lenya is going to build cocoon anyway? Well, at least the anttasks
class files are there. ;-)
I have to do some real work now, I'll look at this this evening.
Ray Allis
--
Ray Allis wrote:
Ron Wheeler wrote:
C:\cocoon-2.1.7\tools\anttasks is where the latest release of
Cocoon has the offending task definition.
Ron
Ray Allis wrote:
Ron Wheeler wrote:
I am not sure if the nightly builds contain everything. Do a find
in the cocoon subtree to be sure that it is there. It was not
when I tried it.
I had this problem with the nightly build.
Try taking the cocoon-2.1.7 and make sure that the tools/anttasks
is in the classpath. This seemed to work for me.
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]
---------------------------------------------------------------------
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]