40 lines
1.6 KiB
XML
40 lines
1.6 KiB
XML
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||
|
<!-- WARNING: Eclipse auto-generated file.
|
||
|
Any modifications will be overwritten.
|
||
|
To include a user specific buildfile here, simply create one in the same
|
||
|
directory with the processing instruction <?eclipse.ant.import?>
|
||
|
as the first entry and export the buildfile again. --><project basedir="." default="build">
|
||
|
<property environment="env"/>
|
||
|
<property name="debuglevel" value="source,lines,vars"/>
|
||
|
<property name="target" value="1.8"/>
|
||
|
<property name="source" value="1.8"/>
|
||
|
<target name="init">
|
||
|
<mkdir dir="bin"/>
|
||
|
<copy includeemptydirs="false" todir="bin">
|
||
|
<fileset dir="src">
|
||
|
<exclude name="**/*.launch"/>
|
||
|
<exclude name="**/*.java"/>
|
||
|
</fileset>
|
||
|
</copy>
|
||
|
</target>
|
||
|
<target name="clean">
|
||
|
<delete dir="bin"/>
|
||
|
</target>
|
||
|
<target depends="clean" name="cleanall"/>
|
||
|
<target depends="build-subprojects,build-project" name="build"/>
|
||
|
<target name="build-subprojects"/>
|
||
|
<target depends="init" name="build-project">
|
||
|
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
|
||
|
<src path="src"/>
|
||
|
</javac>
|
||
|
</target>
|
||
|
<target name="make-jar" depends="build">
|
||
|
<mkdir dir="jars"/>
|
||
|
<jar destfile="jars/simulator.jar" basedir="bin">
|
||
|
<manifest>
|
||
|
<attribute name="Main-Class" value="main.Main"/>
|
||
|
</manifest>
|
||
|
</jar>
|
||
|
</target>
|
||
|
</project>
|