Skip to content

Commit

Permalink
add jblas classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
sploving committed May 18, 2011
1 parent c88eb49 commit da5ef18
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/java_modular/build.xml
Expand Up @@ -7,7 +7,11 @@
<property name="classes" location="classes"/>
<property name="dist" location="dist"/>
<property name="test" location="../../examples/undocumented/java_modular/"/>
<property name="classpath" location="dist/shogun.jar"/>
<path id="project.classpath">
<pathelement location="dist/shogun.jar"/>
<pathelement location="../../../jblas/jblas-1.2.1.jar"/>
<pathelement location="classes"/>
</path>

<target name="compile"
description="compile the source " >
Expand All @@ -29,12 +33,16 @@
description="test the examples" >

<!-- test examples -->
<javac srcdir="${test}" classpath="${classpath}" destdir="${classes}"/>
<javac srcdir="${test}" destdir="${classes}">
<classpath refid="project.classpath"/>
</javac>
</target>

<target name="run" depends="test"
description="run the examples" >
<java classpath="${classpath}" classname="VectorTest"/>
<java classname="VectorTest">
<classpath refid="project.classpath"/>
</java>
</target>

<target name="clean"
Expand Down

0 comments on commit da5ef18

Please sign in to comment.