-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.xml
36 lines (28 loc) · 974 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
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="build" name="compile-archive">
<property name="project-name" value="wlandecoder"/>
<property name="version" value="1.0" />
<path id="master-classpath">
<fileset dir="${basedir}/libs">
<include name="*.jar"/>
</fileset>
</path>
<target name="compile" description="Compile source">
<mkdir dir="bin" />
<javac srcdir="src" includes="**" destdir="bin" >
<classpath refid="master-classpath"/>
</javac>
<copy todir="bin">
<fileset dir="src" />
</copy>
</target>
<target name="build" depends="compile">
<jar destfile="${basedir}/release/${project-name}-${version}.jar">
<fileset dir="${basedir}/bin" />
<zipgroupfileset dir="${basedir}/libs" includes="**/*.jar" />
<manifest>
<attribute name="Main-Class" value="fr.bmartel.wlandecoder.DecodeMain"/>
</manifest>
</jar>
</target>
</project>