You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
607 B
24 lines
607 B
6 years ago
|
<project>
|
||
|
<target name="clean">
|
||
|
<delete dir="build" />
|
||
|
</target>
|
||
|
<target name="compile">
|
||
|
<mkdir dir="build/classes" />
|
||
|
<javac srcdir="src" destdir="build/classes" />
|
||
|
<copy todir="build/classes">
|
||
|
<fileset dir="data" />
|
||
|
</copy>
|
||
|
</target>
|
||
|
<target name="jar" depends="compile">
|
||
|
<jar destfile="build/TotallyNotMalware.jar" basedir="build/classes">
|
||
|
<manifest>
|
||
|
<attribute name="Main-Class" value="totallynotmalware.TotallyNotMalware" />
|
||
|
</manifest>
|
||
|
</jar>
|
||
|
</target>
|
||
|
<target name="run" depends="jar">
|
||
|
<java jar="build/TotallyNotMalware.jar" fork="true" />
|
||
|
</target>
|
||
|
</project>
|
||
|
|