forked from AdoptOpenJDK/jsplitpkgscan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
26 lines (22 loc) · 793 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
<project name="jsplitpkgscan" default="dist">
<property name="src" location="src"/>
<property name="build" location="build/classes/main"/>
<property name="dist" location="build/libs"/>
<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init" description="compile the source">
<javac srcdir="${src}/main/java" destdir="${build}"/>
</target>
<target name="dist" depends="compile" description="generate the distribution">
<mkdir dir="${dist}"/>
<jar jarfile="${dist}/jsplitpkgscan-${DSTAMP}.jar" basedir="${build}">
<fileset dir="${src}/main/resources"/>
</jar>
</target>
<target name="clean" description="clean up">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>