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