-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.xml
More file actions
52 lines (43 loc) · 1.15 KB
/
build.xml
File metadata and controls
52 lines (43 loc) · 1.15 KB
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
<project name="pdf2txt" default="compile">
<path id="class.path">
<pathelement path="www/WEB-INF/classes" />
<fileset dir="/usr/share/java">
<include name="**/*.jar"/>
</fileset>
<fileset dir="/usr/share/jetty">
<include name="**/*.jar"/>
</fileset>
<fileset dir="www/WEB-INF/lib">
<include name="*.jar"/>
</fileset>
</path>
<target name="clean" description="Force a clean slate to rebuild">
<delete dir="www/WEB-INF/classes"/>
</target>
<target name="compile" description="Compile the application servlet code">
<mkdir dir="www/WEB-INF/classes"/>
<javac
classpathref="class.path"
debug="on"
deprecation="on"
destdir="www/WEB-INF/classes"
listfiles="on"
srcdir="src"
>
</javac>
</target>
<target name="cp">
<echo message="classpath=${toString:class.path}" />
</target>
<target name="run" depends="compile">
<java
classname="info.fileformat.DevServer"
classpathref="class.path"
fork="true"
>
<sysproperty key="java.awt.headless" value="true"/>
<sysproperty key="java.io.tmpdir" value="/tmp"/>
<sysproperty key="START" value="/etc/jetty/start.config"/>
</java>
</target>
</project>