Details
Description
After running 'ant' and/or 'ant install' at the top level with all dependencies resolved, all needed libraries are built. Changing directory into the 'examples' subdirectory and running 'ant run-calculator' produces a NoClassDefFoundError for org/apache/hivemind/ClassResolver.
Mofidying the runtime.classpath fixes the problem. Following is the patch output:
Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-hivemind/examples/build.xml,v
retrieving revision 1.11
diff -u -r1.11 build.xml
— build.xml 16 Nov 2004 18:51:43 -0000 1.11
+++ build.xml 1 Feb 2005 05:21:06 -0000
@@ -35,8 +35,8 @@
<path id="runtime.classpath">
<fileset dir="${module.lib.dir}">
- <include name="compile/*.jar"/>
- <include name="run/*.jar"/>
+ <include name="compile/*/.jar"/>
+ <include name="run/*/.jar"/>
</fileset>
<pathelement location="${java.classes.dir}"/>
<pathelement location="${conf.src.dir}"/>