/
module_elementsofdesign_Thu_May_19_12-29-50_EDT_2016.xml
82 lines (64 loc) · 3.77 KB
/
module_elementsofdesign_Thu_May_19_12-29-50_EDT_2016.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="module_elementsofdesign" default="compile.module.elementsofdesign">
<dirname property="module.elementsofdesign.basedir" file="${ant.file.module_elementsofdesign}"/>
<property name="module.jdk.home.elementsofdesign" value="${project.jdk.home}"/>
<property name="module.jdk.bin.elementsofdesign" value="${project.jdk.bin}"/>
<property name="module.jdk.classpath.elementsofdesign" value="${project.jdk.classpath}"/>
<property name="compiler.args.elementsofdesign" value="-encoding UTF-8 -source 8 -target 8 ${compiler.args}"/>
<property name="elementsofdesign.output.dir" value="${module.elementsofdesign.basedir}/out/production/ElementsOfDesign"/>
<property name="elementsofdesign.testoutput.dir" value="${module.elementsofdesign.basedir}/out/test/ElementsOfDesign"/>
<path id="elementsofdesign.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="elementsofdesign.module.production.classpath">
<path refid="${module.jdk.classpath.elementsofdesign}"/>
<path refid="library.core.classpath"/>
</path>
<path id="elementsofdesign.runtime.production.module.classpath">
<pathelement location="${elementsofdesign.output.dir}"/>
<path refid="library.core.classpath"/>
</path>
<path id="elementsofdesign.module.classpath">
<path refid="${module.jdk.classpath.elementsofdesign}"/>
<pathelement location="${elementsofdesign.output.dir}"/>
<path refid="library.core.classpath"/>
</path>
<path id="elementsofdesign.runtime.module.classpath">
<pathelement location="${elementsofdesign.testoutput.dir}"/>
<pathelement location="${elementsofdesign.output.dir}"/>
<path refid="library.core.classpath"/>
</path>
<patternset id="excluded.from.module.elementsofdesign">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.elementsofdesign">
<patternset refid="excluded.from.module.elementsofdesign"/>
</patternset>
<path id="elementsofdesign.module.sourcepath">
<dirset dir="${module.elementsofdesign.basedir}">
<include name="src"/>
</dirset>
</path>
<target name="compile.module.elementsofdesign" depends="compile.module.elementsofdesign.production,compile.module.elementsofdesign.tests" description="Compile module ElementsOfDesign"/>
<target name="compile.module.elementsofdesign.production" depends="register.custom.compilers" description="Compile module ElementsOfDesign; production classes">
<mkdir dir="${elementsofdesign.output.dir}"/>
<javac2 destdir="${elementsofdesign.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.elementsofdesign}/javac">
<compilerarg line="${compiler.args.elementsofdesign}"/>
<bootclasspath refid="elementsofdesign.module.bootclasspath"/>
<classpath refid="elementsofdesign.module.production.classpath"/>
<src refid="elementsofdesign.module.sourcepath"/>
<patternset refid="excluded.from.compilation.elementsofdesign"/>
</javac2>
<copy todir="${elementsofdesign.output.dir}">
<fileset dir="${module.elementsofdesign.basedir}/src">
<patternset refid="compiler.resources"/>
<type type="file"/>
</fileset>
</copy>
</target>
<target name="compile.module.elementsofdesign.tests" depends="register.custom.compilers,compile.module.elementsofdesign.production" description="compile module ElementsOfDesign; test classes" unless="skip.tests"/>
<target name="clean.module.elementsofdesign" description="cleanup module">
<delete dir="${elementsofdesign.output.dir}"/>
<delete dir="${elementsofdesign.testoutput.dir}"/>
</target>
</project>