-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
58 lines (47 loc) · 1.62 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
49
50
51
52
53
54
55
56
57
58
<!--
Build for PDFBoxLite (based on Apache PDFBox)
-->
<project name="PDFBoxLite" default="pkg" basedir=".">
<description>PDFBoxLite</description>
<property name="pkg" location="pkg"/>
<path id="project.class.path">
</path>
<target name="init">
<tstamp/>
<mkdir dir="bin"/>
<mkdir dir="pkg"/>
</target>
<target name="build" depends="init" description="build the source">
<javac srcdir="src" destdir="bin" debug="on"
encoding="8859_1" listfiles="on" includeantruntime="false">
<!-- source="1.6" target="1.6"-->
<classpath refid="project.class.path"/>
</javac>
</target>
<target name="pkg" depends="build" description="generate the packages">
<jar jarfile="pkg/PDFBoxLite.jar" basedir="bin">
<manifest>
<attribute name="Main-Class" value="org.apache.pdfbox.test.TestMain"/>
</manifest>
<fileset dir="src" includes="org/apache/pdfbox/resources/**"/>
<!--<zipgroupfileset dir="lib" includes="*.jar"/>-->
</jar>
<!--
<exec dir="templ/" executable="sh" output="templ/list">
<arg line="-c 'ls *.el'"/>
</exec>
<jar jarfile="${dist}/SketchEl.jar" basedir="${build}">
<manifest>
<attribute name="Main-Class" value="SketchEl.MainWindow"/>
</manifest>
<fileset dir="." includes="images/*.png" />
<fileset dir="." includes="images/*.gif" />
<fileset dir="." includes="templ/list" />
<fileset dir="." includes="templ/*.el" />
</jar>-->
</target>
<target name="clean" description="clean up">
<delete dir="bin"/>
<delete dir="pkg"/>
</target>
</project>