forked from disasmwinnie/reverx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
28 lines (25 loc) · 960 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<project name="reverx" default="dist" basedir=".">
<description>
simple example build file
</description>
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<property name="classpath" location="lib/jnetpcap-1.3b1.jar:lib/utils.jar"/>
<target name="compile">
<mkdir dir="${build}"/>
<javac srcdir="${src}" includeantruntime="false" classpath="${classpath}" destdir="${build}"/>
</target>
<target name="dist" depends="compile" description="generate jar file" >
<mkdir dir="${dist}"/>
<jar jarfile="${dist}/${ant.project.name}.jar" basedir="${build}" excludes="*.sh"/>
</target>
<target name="clean" description="clean up" >
<!-- delete all .class files -->
<delete>
<fileset dir="." defaultexcludes="false" includes="**/*.class"/>
</delete>
<!-- delete ${dist} -->
<delete dir="${dist}"/>
</target>
</project>