Skip to content

Commit

Permalink
change compiler to use intellij form
Browse files Browse the repository at this point in the history
  • Loading branch information
stmoon committed Dec 28, 2017
1 parent 770d51a commit 053bfb7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,22 @@
<pathelement location="lib/annotations.jar"/>
</path>

<path id="javac2.class.path">
<pathelement location="lib/annotations.jar"/>
<pathelement location="lib/javac2.jar"/>
<pathelement location="lib/asm4-all.jar"/>
<pathelement location="lib/jdom.jar"/>
<pathelement location="lib/vecmath.jar"/>
</path>

<taskdef name="javac2" classname="com.intellij.ant.Javac2" classpathref="javac2.class.path"/>

<target name="compile" description="Compile java sources" depends="make_dirs">
<javac destdir="${classes.dir}" includeantruntime="false" debug="true">
<javac2 destdir="${classes.dir}" includeantruntime="false" debug="true">
<classpath refid="libsclasspath"/>
<src path="src"/>
<src path="jMAVlib/src"/>
</javac>
</javac2>
</target>

<target name="jmavsim" description="Link classes and JARs for jMAVSim" depends="compile">
Expand Down Expand Up @@ -55,6 +65,7 @@
<zipfileset dir="lib" includes="jogl-all.jar"/>
<zipfileset dir="lib" includes="jssc.jar"/>
<zipfileset dir="lib" includes="vecmath.jar"/>
<zipgroupfileset dir="lib" includes="forms_rt.jar"/>

<!-- OS-specific jars (can exclude any you don't need) -->

Expand Down
Binary file added lib/asm4-all.jar
Binary file not shown.
Binary file added lib/forms_rt.jar
Binary file not shown.
Binary file added lib/javac2.jar
Binary file not shown.
Binary file added lib/jdom.jar
Binary file not shown.

0 comments on commit 053bfb7

Please sign in to comment.