Skip to content

Commit

Permalink
Added a classpath reference of artifacts to ant compile task.
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltamiosso committed Jan 21, 2011
1 parent 3791d57 commit f4e010a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.xml
Expand Up @@ -3,6 +3,7 @@

<path id="lib">
<fileset dir="lib" includes="**/*.jar"/>
<fileset dir="artifacts/main" includes="**/*.jar"/>
</path>

<path id="test">
Expand All @@ -21,7 +22,7 @@

<target name="compile">
<mkdir dir="build/classes"/>
<javac srcdir="src" destdir="build/classes"></javac>
<javac srcdir="src" destdir="build/classes"><classpath refid="lib"/></javac>
</target>

<target name="build" depends="resolve, clean, compile">
Expand Down

0 comments on commit f4e010a

Please sign in to comment.