31 lines
881 B
XML
31 lines
881 B
XML
<project default="jar">
|
|
|
|
<property name="javac.source" value="1.8" />
|
|
<property name="javac.target" value="1.8" />
|
|
|
|
<target name="clean">
|
|
<delete dir="build"/>
|
|
</target>
|
|
|
|
<target name="compile">
|
|
<mkdir dir="build/classes"/>
|
|
<javac
|
|
source="${javac.source}"
|
|
target="${javac.target}"
|
|
destdir="build/classes"
|
|
classpath="lib/junit.jar:lib/annotations.jar">
|
|
<src path="src"/>
|
|
</javac>
|
|
</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>
|
|
<zipfileset dir="build/classes" includes="**/*.class"/>
|
|
</jar>
|
|
</target>
|
|
|
|
</project> |