forked from amidst/toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodule_core.xml
56 lines (40 loc) · 2.15 KB
/
module_core.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="module_core" default="compile.module.core">
<dirname property="module.core.basedir" file="${ant.file.module_core}"/>
<property name="module.jdk.home.core" value="${project.jdk.home}"/>
<property name="module.jdk.bin.core" value="${project.jdk.bin}"/>
<property name="module.jdk.classpath.core" value="${project.jdk.classpath}"/>
<property name="compiler.args.core" value="-encoding UTF-8 -source 1.6 -target 1.8 ${compiler.args}"/>
<property name="core.output.dir" value="${module.core.basedir}/target/classes"/>
<property name="core.testoutput.dir" value="${module.core.basedir}/target/test-classes"/>
<path id="core.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="core.module.production.classpath">
<path refid="${module.jdk.classpath.core}"/>
</path>
<path id="core.runtime.production.module.classpath">
<pathelement location="${core.output.dir}"/>
</path>
<path id="core.module.classpath">
<path refid="${module.jdk.classpath.core}"/>
<pathelement location="${core.output.dir}"/>
</path>
<path id="core.runtime.module.classpath">
<pathelement location="${core.testoutput.dir}"/>
<pathelement location="${core.output.dir}"/>
</path>
<patternset id="excluded.from.module.core">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.core">
<patternset refid="excluded.from.module.core"/>
</patternset>
<target name="compile.module.core" depends="compile.module.core.production,compile.module.core.tests" description="Compile module core"/>
<target name="compile.module.core.production" depends="register.custom.compilers" description="Compile module core; production classes"/>
<target name="compile.module.core.tests" depends="register.custom.compilers,compile.module.core.production" description="compile module core; test classes" unless="skip.tests"/>
<target name="clean.module.core" description="cleanup module">
<delete dir="${core.output.dir}"/>
<delete dir="${core.testoutput.dir}"/>
</target>
</project>