-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.xml
23 lines (23 loc) · 898 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="BXL2text" basedir="." default="dist">
<property name="src" location="src" />
<property name="build" location="build" />
<property name="dist" location="dist" />
<target name="init">
<mkdir dir="${build}" />
</target>
<target name="compile" depends="init" description="compile the source">
<javac srcdir="${src}" destdir="${build}" includeantruntime="false" />
</target>
<target name="dist" depends="compile" description="generate the distribution">
<jar jarfile="${dist}/BXL2text.jar" basedir="${build}">
<manifest>
<attribute name="Main-Class" value="BXLDecoder"/>
</manifest>
</jar>
</target>
<target name="clean" description="clean up">
<delete dir="${build}" />
<delete dir="${dist}" />
</target>
</project>