Aha!!! I found what was the problem with Anakia. Cayenne bundles Velocity,
but not JDOM. Now, when you put cayenne.jar and woproject.jar into
$ANT_HOME/lib, and then use Ant to compile WOProject, ClassLoaders become
messed up. So once I removed cayenne.jar and woproject.jar from Ant,
everything just worked.
Oh, and I updated the front page with the latest CVS docs.
Andrus
At 06:47 PM 1/11/2003 -0500, Andrus wrote:
>Anjo,
>
>have you been able to resolve this problem? Now I am building the docs for
>the new release, and getting the same error on Windows. I found that the
>root exception is:
>
>java.lang.NoClassDefFoundError: org/jdom/JDOMException
> at java.lang.Class.getConstructors0(Native Method)
> at java.lang.Class.getDeclaredConstructors(Class.java:1072)
> at
> org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.java:482)...
>
>
>Interesting is that JDOM is in the task classpath, and JDOMException does
>exist. I wonder what else could've gone wrong?
>
>Andrus
>
>
>
>At 09:53 PM 1/2/2003 +0100, Anjo Krank wrote:
>>Hi Ulrich,
>>
>>Am Donnerstag, 02.01.03 um 09:44 Uhr schrieb Ulrich Köster:
>>>you may integrate it the way WOProject/WOLips does this.
>>>
>>>Here is short brief:
>>>- check out woproject
>>
>>Did that - fresh checkout into a new directory.
>>
>>>- build it (ant dist)
>>
>>"ant dist" yields:
>>
>>BUILD FAILED
>>file:/Users/ak/tmp/woproject/build-doc.xml:86: taskdef class
>>org.apache.velocity.anakia.AnakiaTask cannot be found
>>
>>even though I put velocity-1.3.1-rc2.jar in just about every place I can
>>imagine (/Library/Java/Extensions, $ANT_HOME/lib etc)?
>>
>>Have you got an idea what I need to do to build?
>>
>>Cheers, Anjo
>
This archive was generated by hypermail 2.0.0 : Wed Jan 15 2003 - 00:28:40 EST