35 lines
1.1 KiB
XML
35 lines
1.1 KiB
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}"
|
|
debug="true"
|
|
target="${javac.target}"
|
|
destdir="build/classes"
|
|
classpath="../../java_console/lib/junit.jar:../../java_console/lib/annotations.jar:lib/TunerStudioMS.jar">
|
|
<src path="screen/src/main/java"/>
|
|
<src path="../../java_console/inifile/src/main/java"/>
|
|
</javac>
|
|
|
|
|
|
</target>
|
|
|
|
<target name="jar" depends="compile">
|
|
<mkdir dir="build/jar"/>
|
|
<jar destfile="ScreenShots.jar" basedir="build/classes">
|
|
<manifest>
|
|
<attribute name="Main-Class" value="com.rusefi.ScreenCaptureLauncher"/>
|
|
</manifest>
|
|
<zipfileset dir="build/classes" includes="**/*.class"/>
|
|
</jar>
|
|
</target>
|
|
|
|
</project> |