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