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