Examples build.xml fails to set proper runtime.classpath
--------------------------------------------------------
Key: HIVEMIND-88
URL: http://issues.apache.org/jira/browse/HIVEMIND-88
Project: HiveMind
Type: Bug
Components: examples
Versions: 1.1
Environment: Windows XP, JDK 1.5, Ant 1.6.2, command line execution
Reporter: Brian K. Wallace
Priority: Minor
Attachments: hivemind-examples-build.xml.patch.txt
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}"/>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]