Do you have the anttasks directory in your classpath?

I did my build under Eclipse under Win2000 which works well and does make it easy to specify all of the shared libraries required in the classpath.

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.



/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
--
The offending line is
<taskdef name="xpatch" classpath="${cocoon.src.dir}/tools/src/anttasks" classname="XConfToolTask" />
--
Very confusing. All three cocoons I downloaded have tools/src/anttasks, not tools/anttasks. I changed the taskdef above, but no joy. I'm guessing it is really looking for the .class file?

Lenya does have tools/anttasks though, and lenya has the classes already compiled, where the cocoon src dists do not. I'm not supposed to build cocoon before I build lenya, so where does XConfToolTask.class come from? Or /tools/anttasks for that matter?

Here is the cocoon dist:

613 metaphor /export/home/ray/src/cocoon:ll tools/src/anttasks/
total 124
-rw-r--r--   1 ray      other       5793 Mar 23 03:42 DocumentCache.java
-rw-r--r-- 1 ray other 3099 Mar 23 03:42 ManifestToolTask.java
-rw-r--r--   1 ray      other       3876 Mar 23 03:42 PoolSetterTask.java
-rw-r--r--   1 ray      other      31493 Mar 23 03:42 SitemapTask.java
-rw-r--r--   1 ray      other      16897 Mar 23 03:42 XConfToolTask.java
614 metaphor /export/home/ray/src/cocoon:



---------------------------------------------------------------------
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]

Reply via email to