forked from hrs-allbsd/OpenLanguageTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
59 lines (45 loc) · 1.88 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
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="about" name="Open Language Tools">
<property file="build.ant.properties"/>
<target name="init">
<tstamp/>
<property environment="myenv"/>
<property name="javacc_cpath" value="${JAVACC_LIB}"/>
<property name="javacc.lib" value="${javacc_cpath}"/>
<mkdir dir="${build}"/>
</target>
<target name="about">
<echo>This is the Open Language Tools build file. Valid targets are :</echo>
<echo>about, global_utilities, filters, transeditor, backconverters</echo>
<echo>More information is available at</echo>
<echo>https://open-language-tools.java.net</echo>
</target>
<target name="clean" depends="init">
<delete dir="${build}"/>
</target>
<target name="all" depends="init, global_utilities, filters, backconverters, transeditor">
</target>
<target name="global_utilities" depends="init">
<ant dir="utilities">
<property name="build.dir" value="${build}"/>
<property name="dest.dir" value="${build}"/>
</ant>
</target>
<target name="backconverters" depends="init, global_utilities,filters" >
<ant dir="src/backconverters" target="all">
<property name="classpath" value="${build}/utilities:${build}/filters"/>
<property name="build" value="${build}/backconv"/>
<property name="build.dir" value="${build}/backconv"/>
</ant>
</target>
<target name="filters" depends="init, global_utilities">
<ant dir="src/filters" target="all">
<property name="build.dir" value="${build}/filters"/>
</ant>
</target>
<target name="transeditor" depends="init">
<ant dir="src/transeditor" target="all">
<property name="do.build.editor" value="please"/>
</ant>
</target>
</project>