2017-03-24 10:26:09 -07:00
|
|
|
<project default="jar">
|
|
|
|
|
2019-06-02 12:07:20 -07:00
|
|
|
<property name="javac.source" value="1.8"/>
|
|
|
|
<property name="javac.target" value="1.8"/>
|
2018-12-19 20:17:23 -08:00
|
|
|
|
2017-03-24 10:26:09 -07:00
|
|
|
<target name="clean">
|
|
|
|
<delete dir="build"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="compile">
|
|
|
|
<mkdir dir="build/classes"/>
|
2018-12-19 20:17:23 -08:00
|
|
|
<javac
|
|
|
|
source="${javac.source}"
|
|
|
|
target="${javac.target}"
|
|
|
|
destdir="build/classes"
|
2019-05-29 21:18:41 -07:00
|
|
|
classpath="lib/junit.jar:lib/annotations.jar:lib/snakeyaml.jar">
|
2019-06-02 12:07:20 -07:00
|
|
|
<src path="src"/>
|
2019-05-29 21:18:41 -07:00
|
|
|
<src path="../enum_to_string/src"/>
|
2019-06-02 12:07:20 -07:00
|
|
|
</javac>
|
|
|
|
|
|
|
|
<junit fork="no"
|
|
|
|
maxmemory="512m"
|
|
|
|
printsummary="yes"
|
|
|
|
haltonfailure="yes">
|
|
|
|
|
|
|
|
<jvmarg value="-ea"/>
|
|
|
|
<jvmarg value="-XX:+HeapDumpOnOutOfMemoryError"/>
|
|
|
|
<formatter type="brief"/>
|
|
|
|
<classpath path="build/classes:lib/junit.jar:lib/annotations.jar:lib/snakeyaml.jar"/>
|
|
|
|
<batchtest todir="build">
|
|
|
|
<fileset dir="src" includes="**/test/**/*Test.java"/>
|
|
|
|
<fileset dir="../enum_to_string/src" includes="**/test/**/*Test.java"/>
|
|
|
|
</batchtest>
|
|
|
|
</junit>
|
|
|
|
|
2017-03-24 10:26:09 -07:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="jar" depends="compile">
|
|
|
|
<mkdir dir="build/jar"/>
|
|
|
|
<jar destfile="../ConfigDefinition.jar" basedir="build/classes">
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Main-Class" value="com.rusefi.ConfigDefinition"/>
|
|
|
|
</manifest>
|
2019-06-02 12:07:20 -07:00
|
|
|
<zipfileset dir="build/classes" includes="**/*.class"/>
|
2017-03-24 10:26:09 -07:00
|
|
|
</jar>
|
|
|
|
</target>
|
|
|
|
|
2017-02-20 14:24:52 -08:00
|
|
|
</project>
|