-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
48 lines (41 loc) · 1.32 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0"?>
<project name="BrailleBlaster" default="dist"
basedir=".">
<property name="srcdir" location="src/main"/>
<property name="builddir" location="classes"/>
<property name="classpath" location="dist/lib"/>
<property name="distdir" location ="dist"/>
<target name="init">
<mkdir dir="${builddir}"/>
</target>
<target name="compile" depends="init">
<javac srcdir="${srcdir}" destdir="${builddir}"
includeantruntime="false" source="1.6" target="1.6" >
<classpath>
<pathelement path="${classpath}"/>
<pathelement location="${classpath}/swt.jar"/>
<pathelement location="${classpath}/commons-exec-1.1.jar"/>
<pathelement location="${classpath}/jliblouisutdml.jar"/>
<pathelement location="${classpath}/commons-cli-1.2.jar"/>
<pathelement location="${classpath}/xom-1.2.6.jar"/>
<pathelement location="${classpath}/tika-app-1.1.jar"/>
</classpath>
</javac>
</target>
<target name="dist" depends="compile">
<jar jarfile="${distdir}/brailleblaster.jar"
basedir="${builddir}">
<manifest>
<attribute name="Main-Class" value="org.brailleblaster.Main"/>
<attribute name="Class-Path" value="lib/commons-exec-1.1.jar
lib/jliblouisutdml.jar
lib/swt.jar
lib/xom-1.2.6.jar
lib/commons-cli-1.2.jar
lib/tika-app-1.1.jar
programData/lang/
programData/styles/"/>
</manifest>
</jar>
</target>
</project>