Skip to content

Commit

Permalink
add option to build output
Browse files Browse the repository at this point in the history
  • Loading branch information
qsphan committed Nov 14, 2017
1 parent e4d9f04 commit e2e9ce4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
<available file="src/classes" type="dir" property="have_classes"/>
<available file="src/tests" type="dir" property="have_tests"/>
<available file="src/examples" type="dir" property="have_examples"/>
<available file="src/output" type="dir" property="have_output"/>

<condition property="have_jvm_code">
<or>
Expand Down Expand Up @@ -179,6 +180,19 @@
</classpath>
</javac>
</target>

<target name="build-output">
<mkdir dir="build/output"/>
<javac srcdir="src/output" destdir="build/output"
debug="${debug}" source="${src_level}" deprecation="${deprecation}"
includeantruntime="false">
<classpath>
<path refid="lib.path"/>
<pathelement location="build/main"/>
<pathelement location="build/examples"/>
</classpath>
</javac>
</target>


<!-- ======================= MISC SECTION ================================ -->
Expand Down

0 comments on commit e2e9ce4

Please sign in to comment.