-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
134 lines (133 loc) · 7.4 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="create_packed_zip" name="jtabletpresenter">
<property environment="env"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.7"/>
<property name="source" value="1.7"/>
<property name="version" value="1.24"/>
<path id="jtabletpresenter.classpath">
<pathelement location="bin"/>
<pathelement location="lib/jpen-2.jar"/>
<pathelement location="lib/iscwt.jar"/>
<pathelement location="lib/isfreetype.jar"/>
<pathelement location="lib/isnativec.jar"/>
<pathelement location="lib/isrt.jar"/>
<pathelement location="lib/jai_codec.jar"/>
<pathelement location="lib/jai_core.jar"/>
<pathelement location="lib/jai_imageio.jar"/>
<pathelement location="lib/jbig2.jar"/>
<pathelement location="lib/jkeymaster-1.1.jar"/>
<pathelement location="lib/jna-3.5.1.jar"/>
<pathelement location="lib/jPodFonts.jar"/>
<pathelement location="lib/jmupdf.jar"/>
<pathelement location="lib/jPod.jar"/>
<pathelement location="lib/jPodRenderer.jar"/>
<pathelement location="lib/tika-core-1.3.jar"/>
<pathelement location="lib/commons-codec-1.9.jar"/>
<pathelement location="lib/commons-logging-1.1.3.jar"/>
<pathelement location="lib/log4j-1.2.17.jar"/>
<pathelement location="lib/poi-3.13-20150929.jar"/>
<pathelement location="lib/poi-ooxml-3.13-20150929.jar"/>
<pathelement location="lib/poi-ooxml-schemas-3.13-20150929.jar"/>
<pathelement location="lib/poi-scratchpad-3.13-20150929.jar"/>
<pathelement location="lib/xmlbeans-2.6.0.jar"/>
</path>
<target name="buildinfo">
<tstamp>
<format property="builtat" pattern="yyyyMMddHHmm" />
</tstamp>
<propertyfile file="src/de/freiburg/uni/tablet/presenter/jtabletpresenter.properties"
comment="This file is generated - DO NOT EDIT">
<entry key="Version" value="${version}" />
<entry key="BuildTime" value="${builtat}" />
</propertyfile>
</target>
<target name="init">
<mkdir dir="bin"/>
<copy includeemptydirs="false" todir="bin">
<fileset dir="src">
<exclude name="**/*.launch"/>
<exclude name="**/*.java"/>
</fileset>
</copy>
<copy includeemptydirs="false" todir="bin">
<fileset dir="res">
<exclude name="**/*.launch"/>
<exclude name="**/*.java"/>
<exclude name="temp/"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="bin"/>
<delete dir="packed/JTabletPresenter_lib"/>
<delete file="packed/JTabletPresenter.jar"/>
</target>
<target depends="clean" name="cleanall"/>
<target depends="init,buildinfo" name="build">
<echo message="${ant.project.name}: ${ant.file}"/>
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
<src path="src"/>
<src path="res"/>
<classpath refid="jtabletpresenter.classpath"/>
</javac>
</target>
<target name="JTabletPresenter.ClientApp">
<java classname="de.freiburg.uni.tablet.presenter.ClientApp" failonerror="true" fork="yes">
<classpath refid="jtabletpresenter.classpath"/>
</java>
</target>
<target depends="build" name="create_run_jar">
<jar destfile="packed/JTabletPresenter.jar">
<manifest>
<attribute name="Main-Class" value="de.freiburg.uni.tablet.presenter.ClientApp"/>
<attribute name="Class-Path" value=". JTabletPresenter_lib/jpen-2.jar JTabletPresenter_lib/iscwt.jar JTabletPresenter_lib/isfreetype.jar JTabletPresenter_lib/isnativec.jar JTabletPresenter_lib/isrt.jar JTabletPresenter_lib/jai_codec.jar JTabletPresenter_lib/jai_core.jar JTabletPresenter_lib/jai_imageio.jar JTabletPresenter_lib/jbig2.jar JTabletPresenter_lib/jkeymaster-1.1.jar JTabletPresenter_lib/jna-3.5.1.jar JTabletPresenter_lib/jPodFonts.jar JTabletPresenter_lib/jmupdf.jar JTabletPresenter_lib/jPod.jar JTabletPresenter_lib/jPodRenderer.jar JTabletPresenter_lib/tika-core-1.3.jar JTabletPresenter_lib/commons-codec-1.9.jar JTabletPresenter_lib/commons-logging-1.1.3.jar JTabletPresenter_lib/log4j-1.2.17.jar JTabletPresenter_lib/poi-3.13-20150929.jar JTabletPresenter_lib/poi-ooxml-3.13-20150929.jar JTabletPresenter_lib/poi-ooxml-schemas-3.13-20150929.jar JTabletPresenter_lib/poi-scratchpad-3.13-20150929.jar JTabletPresenter_lib/xmlbeans-2.6.0.jar"/>
</manifest>
<fileset dir="bin"/>
</jar>
<delete dir="packed/JTabletPresenter_lib"/>
<mkdir dir="packed/JTabletPresenter_lib"/>
<mkdir dir="packed/autosave"/>
<copy file="lib/jpen-2.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/iscwt.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/isfreetype.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/isnativec.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/isrt.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/jai_codec.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/jai_core.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/jai_imageio.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/jbig2.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/jkeymaster-1.1.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/jna-3.5.1.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/jPodFonts.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/jmupdf.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/jPod.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/jPodRenderer.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/tika-core-1.3.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/commons-codec-1.9.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/commons-logging-1.1.3.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/log4j-1.2.17.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/poi-3.13-20150929.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/poi-ooxml-3.13-20150929.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/poi-ooxml-schemas-3.13-20150929.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/poi-scratchpad-3.13-20150929.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/xmlbeans-2.6.0.jar" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/COPYING.LESSER.txt" todir="packed/JTabletPresenter_lib"/>
<copy file="lib/COPYING.txt" todir="packed/JTabletPresenter_lib"/>
<copy file="jmupdf32.dll" todir="packed"/>
<copy file="jmupdf64.dll" todir="packed"/>
<copy file="jpen-2-3.dll" todir="packed"/>
<copy file="jpen-2-3-64.dll" todir="packed"/>
<copy file="libjmupdf32.so" todir="packed"/>
<copy file="libjmupdf64.so" todir="packed"/>
<copy file="libjpen-2-4.so" todir="packed"/>
<copy file="libjpen-2-4-x86_64.so" todir="packed"/>
<copy file="libjpen-2-3.jnilib" todir="packed"/>
<copy file="README.md" todir="packed/"/>
</target>
<target depends="create_run_jar" name="create_packed_zip">
<zip destfile="JTB_v${version}_JTabletPresenter.zip">
<zipfileset prefix="JTabletPresenter" dir="packed" />
</zip>
</target>
</project>