-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.xml
More file actions
95 lines (78 loc) · 2.98 KB
/
build.xml
File metadata and controls
95 lines (78 loc) · 2.98 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
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
<?xml version="1.0" encoding="utf-8"?>
<project name="ABL Unit Mods" default="build" xmlns:if="ant:if" xmlns:unless="ant:unless" xmlns:sonar="antlib:org.sonar.ant">
<description>ABL Unit Mods build</description>
<!-- load externals -->
<property file="build.properties"/>
<property file="default.properties"/>
<import file="macrodefs.xml"/>
<getosprops/>
<echo if:set="isWindows">Building on Windows with ${ant.version}</echo>
<echo if:set="isUnix">Building on Unix with ${ant.version}</echo>
<getoelocations/>
<property name="env.OEDLC" value="${env.OEDLC11}"/>
<!-- propath set -->
<path id="propath_ablunit">
<pathelement path="src"/>
</path>
<!-- compile files set -->
<fileset dir="src" id="fileset_ablunit">
<include name="**/*.p"/>
<include name="**/*.cls"/>
</fileset>
<!-- propath tests set -->
<path id="propath_ablunit_tests">
<pathelement path="build/oe11/pl/ABLUnitMods.pl"/>
<pathelement path="tests"/>
<pathelement path="src"/>
</path>
<!-- compile tests files set -->
<fileset dir="tests" id="fileset_ablunit_tests">
<include name="**/*.p"/>
<include name="**/*.cls"/>
</fileset>
<target name="build" depends="init,compile,test"/>
<target name="init" depends="" description="Prepare for compile">
<mkdir dir="${clean.build}"/>
<mkdir dir="${clean.test}"/>
<delete dir="${clean.temp}" quiet="true"/>
<mkdir dir="${clean.temp}"/>
</target>
<target name="compile" description="Compile" depends="">
<property name="absolute.temp" location="${env.TEMP_DIR}"/>
<oecompile baseDir="src"
databasesid=""
propathid="propath_ablunit"
filesetid="fileset_ablunit"
tempDir="${absolute.temp}"
destDir="build/oe11/"
assembliesDir=""
metadata="false"
/>
<buildpl baseDir="build/oe11/"
destDir="build/oe11/pl/"
libraryFile="ABLUnitMods.pl"/>
</target>
<!-- test -->
<target name="test" description="Test" depends="">
<property name="absolute.temp" location="${env.TEMP_DIR}"/>
<oecompile baseDir="tests"
databasesid=""
propathid="propath_ablunit_tests"
filesetid="fileset_ablunit_tests"
tempDir="${absolute.temp}"
destDir="build/tests/"
assembliesDir=""
metadata="false"/>
<property name="absolute.temp" location="${env.TEMP_DIR}"/>
<oetest baseDir="tests"
databasesid=""
propathid="propath_ablunit_tests"
filesetid="fileset_ablunit_tests"
tempDir="${absolute.temp}"
destDir="build/tests/"
assembliesDir=""
noSonar="true"
noCoverage="true"
/>
</target>
</project>