You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hivemind.apache.org by Christopher Cheng <my...@chrishome.com> on 2004/11/14 11:58:59 UTC

Example Build Error

I am not sure whether I missed something or an error in the build file. I
added a few line to the build.xml and it works:

 

 

<project name="HiveMind Examples" default="jar">

  <property name="module.name" value="hivemind-examples"/>

  <property name="javadoc.package" value="com.panorama.*"/>

  <property name="module.install.dir" value="target"/>

         ..

</project>

 

<path id="runtime.classpath">

    <fileset dir="${module.lib.dir}">

    

      <include name="compile/*.jar"/>

      <include name="run/*.jar"/>

      <include name="compile/hivemind/*.jar"/>

      <include name="compile/commons-logging/*.jar"/>

      <include name="run/oro/*.jar"/>

      <include name="run/javassist/*.jar"/>

    </fileset>

    <pathelement location="${java.classes.dir}"/>

    <pathelement location="${conf.src.dir}"/>

    

    <!-- Not sure why, but running the examples failed with a missing XML
parser.

         Haven't tracked this down yet, but adding in the libraries,
including Xerces,

         provided with Ant helps. -->

         

     <fileset dir="${ant.home}/lib" includes="*.jar"/>

  </path>