-
Notifications
You must be signed in to change notification settings - Fork 0
/
module_threes.xml
78 lines (60 loc) · 3.1 KB
/
module_threes.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="module_threes" default="compile.module.threes">
<dirname property="module.threes.basedir" file="${ant.file.module_threes}"/>
<property name="module.jdk.home.threes" value="${project.jdk.home}"/>
<property name="module.jdk.bin.threes" value="${project.jdk.bin}"/>
<property name="module.jdk.classpath.threes" value="${project.jdk.classpath}"/>
<property name="compiler.args.threes" value="-encoding windows-1251 -source 8 ${compiler.args}"/>
<property name="threes.output.dir" value="${module.threes.basedir}/out/production/Threes"/>
<property name="threes.testoutput.dir" value="${module.threes.basedir}/out/test/Threes"/>
<path id="threes.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="threes.module.production.classpath">
<path refid="${module.jdk.classpath.threes}"/>
</path>
<path id="threes.runtime.production.module.classpath">
<pathelement location="${threes.output.dir}"/>
</path>
<path id="threes.module.classpath">
<path refid="${module.jdk.classpath.threes}"/>
<pathelement location="${threes.output.dir}"/>
</path>
<path id="threes.runtime.module.classpath">
<pathelement location="${threes.testoutput.dir}"/>
<pathelement location="${threes.output.dir}"/>
</path>
<patternset id="excluded.from.module.threes">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.threes">
<patternset refid="excluded.from.module.threes"/>
</patternset>
<path id="threes.module.sourcepath">
<dirset dir="${module.threes.basedir}">
<include name="src"/>
</dirset>
</path>
<target name="compile.module.threes" depends="compile.module.threes.production,compile.module.threes.tests" description="Compile module Threes"/>
<target name="compile.module.threes.production" depends="register.custom.compilers" description="Compile module Threes; production classes">
<mkdir dir="${threes.output.dir}"/>
<javac2 destdir="${threes.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.threes}/javac">
<compilerarg line="${compiler.args.threes}"/>
<bootclasspath refid="threes.module.bootclasspath"/>
<classpath refid="threes.module.production.classpath"/>
<src refid="threes.module.sourcepath"/>
<patternset refid="excluded.from.compilation.threes"/>
</javac2>
<copy todir="${threes.output.dir}">
<fileset dir="${module.threes.basedir}/src">
<patternset refid="compiler.resources"/>
<type type="file"/>
</fileset>
</copy>
</target>
<target name="compile.module.threes.tests" depends="register.custom.compilers,compile.module.threes.production" description="compile module Threes; test classes" unless="skip.tests"/>
<target name="clean.module.threes" description="cleanup module">
<delete dir="${threes.output.dir}"/>
<delete dir="${threes.testoutput.dir}"/>
</target>
</project>