-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
230 lines (229 loc) · 11.3 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="build" name="Pali">
<property environment="env"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.7"/>
<property name="source" value="1.7"/>
<path id="Pali.classpath">
<pathelement location="bin"/>
<pathelement location="data/extlib/jackson-databind-2.2.3.jar"/>
<pathelement location="data/extlib/jackson-core-2.2.3.jar"/>
<pathelement location="data/extlib/jackson-annotations-2.2.3.jar"/>
<pathelement location="data/extlib/2014-01-19_LibDictionaryClientRecompiled.jar"/>
</path>
<property name="here" value="."/>
<path id="extlibs">
<fileset dir="${here}/data/extlib">
<include name="*.jar" />
</fileset>
<pathelement location="${build}" />
</path>
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<target name="compile" depends="init" description="compile the source">
<javac destdir="${build}" srcdir="${src}" encoding="UTF-8">
<classpath refid="extlibs" />
</javac>
</target>
<target name="init">
<mkdir dir="${build}"/>
<mkdir dir="bin"/>
<copy includeemptydirs="false" todir="bin" encoding="UTF-8" outputencoding="UTF-8">
<fileset dir="src">
<exclude name="**/*.launch"/>
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="bin"/>
<delete>
<fileset dir=".">
<include name="*.sh"/>
<include name="*.bat"/>
<include name="*.jar"/>
</fileset>
</delete>
<delete dir="build"/>
</target>
<target depends="clean" name="cleanall"/>
<target depends="build-subprojects,build-project" name="build"/>
<target name="build-subprojects"/>
<target depends="init" name="build-project">
<echo message="${ant.project.name}: ${ant.file}"/>
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}" encoding="UTF-8">
<src path="src"/>
<classpath refid="Pali.classpath"/>
</javac>
</target>
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
<target name="AffixStrategy">
<java classname="de.unitrier.daalft.pali.morphology.strategy.AffixStrategy" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="Alphabet">
<java classname="de.unitrier.daalft.pali.general.Alphabet" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="ChangingOccurrence">
<java classname="de.unitrier.daalft.pali.morphology.element.ChangingOccurrence" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="GeneralDeclensionStrategy">
<java classname="de.unitrier.daalft.pali.morphology.strategy.GeneralDeclensionStrategy" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="IrregularNouns">
<java classname="de.unitrier.daalft.pali.morphology.paradigm.irregular.IrregularNouns" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="Lemmatizer">
<java classname="de.unitrier.daalft.pali.morphology.Lemmatizer" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="LexiconAdapter">
<java classname="de.unitrier.daalft.pali.lexicon.LexiconAdapter" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="MorphologyAnalyzer">
<java classname="de.unitrier.daalft.pali.morphology.MorphologyAnalyzer" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="MorphologyGenerator">
<java classname="de.unitrier.daalft.pali.morphology.MorphologyGenerator" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="NaiveStemmer">
<java classname="de.unitrier.daalft.pali.morphology.NaiveStemmer" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="NounParadigm">
<java classname="de.unitrier.daalft.pali.morphology.paradigm.regular.NounParadigm" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="NounStrategy">
<java classname="de.unitrier.daalft.pali.morphology.strategy.NounStrategy" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="NullStrategy">
<java classname="de.unitrier.daalft.pali.morphology.strategy.NullStrategy" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="NumeralStrategy">
<java classname="de.unitrier.daalft.pali.morphology.strategy.NumeralStrategy" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="PaliNLP">
<java classname="de.unitrier.daalft.pali.PaliNLP" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="ParadigmReader">
<java classname="de.unitrier.daalft.pali.morphology.paradigm.ParadigmReader" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="RightDeletingRule">
<java classname="de.unitrier.daalft.pali.morphology.paradigm.rule.RightDeletingRule" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="SandhiMerge">
<java classname="de.unitrier.daalft.pali.phonology.SandhiMerge" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="SandhiReader">
<java classname="de.unitrier.daalft.pali.phonology.SandhiReader" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="Segmenter">
<java classname="de.unitrier.daalft.pali.tools.Segmenter" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="SoundChanger">
<java classname="de.unitrier.daalft.pali.phonology.SoundChanger" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="Validator">
<java classname="de.unitrier.daalft.pali.validation.Validator" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="VerbHelper">
<java classname="de.unitrier.daalft.pali.morphology.tools.VerbHelper" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="VerbStrategy">
<java classname="de.unitrier.daalft.pali.morphology.strategy.VerbStrategy" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="Womanizer">
<java classname="de.unitrier.daalft.pali.morphology.tools.Womanizer" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="WordClassGuesser">
<java classname="de.unitrier.daalft.pali.morphology.tools.WordClassGuesser" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="PaliPanel">
<java classname="de.unitrier.daalft.pali.gui.PaliPanel" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="PaliConsole">
<java classname="de.unitrier.daalft.pali.PaliConsole" failonerror="true" fork="yes">
<classpath refid="Pali.classpath"/>
</java>
</target>
<target name="jar">
<tstamp/>
<jar jarfile="./PaliNLP-${DSTAMP}.jar" basedir="bin"/>
<touch file="PaliConsole.bat"/>
<touch file="PaliConsole.sh"/>
<touch file="PaliGUI.bat"/>
<touch file="PaliGUI.sh"/>
<echo file="PaliConsole.sh" append="true">
#!/bin/sh
java -cp ./PaliNLP-${DSTAMP}.jar:./data/extlib/jackson-databind-2.2.3.jar:./data/extlib/jackson-core-2.2.3.jar:./data/extlib/jackson-annotations-2.2.3.jar:./data/extlib/2014-01-19_LibDictionaryClientRecompiled.jar de.unitrier.daalft.pali.PaliConsole
</echo>
<echo file="PaliGUI.sh" append="true">
#!/bin/sh
java -cp ./PaliNLP-${DSTAMP}.jar:./data/extlib/jackson-databind-2.2.3.jar:./data/extlib/jackson-core-2.2.3.jar:./data/extlib/jackson-annotations-2.2.3.jar:./data/extlib/2014-01-19_LibDictionaryClientRecompiled.jar de.unitrier.daalft.pali.gui.PaliPanel
</echo>
<echo file="PaliConsole.bat" append="true">
Chcp 65001
java -Dfile.encoding=UTF8 -cp .\PaliNLP-${DSTAMP}.jar;.\data\extlib\jackson-databind-2.2.3.jar;.\data\extlib\jackson-core-2.2.3.jar;.\data\extlib\jackson-annotations-2.2.3.jar;.\data\extlib\2014-01-19_LibDictionaryClientRecompiled.jar de.unitrier.daalft.pali.PaliConsole
</echo>
<echo file="PaliGUI.bat" append="true">
Chcp 65001
java -Dfile.encoding=UTF8 -cp .\PaliNLP-${DSTAMP}.jar;.\data\extlib\jackson-databind-2.2.3.jar;.\data\extlib\jackson-core-2.2.3.jar;.\data\extlib\jackson-annotations-2.2.3.jar;.\data\extlib\2014-01-19_LibDictionaryClientRecompiled.jar de.unitrier.daalft.pali.gui.PaliPanel
</echo>
</target>
<target name="javadoc">
<javadoc access="private" additionalparam=" -docencoding "UTF-8" -encoding "UTF-8"" author="true" classpath="data/extlib/jackson-annotations-2.2.3.jar;data/extlib/jackson-core-2.2.3.jar;data/extlib/jackson-databind-2.2.3.jar;data/extlib/2014-01-17_LibDictionaryClientRecompiled.jar" destdir="doc" doctitle="Morphological Analyzer and Generator for Pali" nodeprecated="false" nodeprecatedlist="false" noindex="false" nonavbar="false" notree="false" packagenames="de.unitrier.daalft.pali.morphology,de.unitrier.daalft.pali.morphology.paradigm.irregular,de.unitrier.daalft.pali.phonology,de.unitrier.daalft.pali.morphology.tools,de.unitrier.daalft.pali.morphology.paradigm,de.unitrier.daalft.pali,de.unitrier.daalft.pali.lexicon,de.unitrier.daalft.pali.validation,de.unitrier.daalft.pali.tools,de.unitrier.daalft.pali.phonology.tools,de.unitrier.daalft.pali.morphology.paradigm.rule,de.unitrier.daalft.pali.general,de.unitrier.daalft.pali.morphology.element,de.unitrier.daalft.pali.phonology.element,de.unitrier.daalft.pali.morphology.strategy" source="1.7" sourcepath="src" splitindex="true" use="true" version="true">
</javadoc>
</target>
</project>