forked from JetBrains/kotlin-web-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodule_webview.xml
138 lines (120 loc) · 7.67 KB
/
module_webview.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?xml version="1.0" encoding="UTF-8"?>
<project name="module_webview" default="compile.module.webview">
<dirname property="module.webview.basedir" file="${ant.file.module_webview}"/>
<property name="module.jdk.home.webview" value="${jdk.home.1.6}"/>
<property name="module.jdk.bin.webview" value="${jdk.bin.1.6}"/>
<property name="module.jdk.classpath.webview" value="jdk.classpath.1.6"/>
<property name="compiler.args.webview" value="${compiler.args}"/>
<property name="webview.output.dir" value="${module.webview.basedir}/out/production/WebView"/>
<property name="webview.testoutput.dir" value="${module.webview.basedir}/out/test/WebView"/>
<path id="webview.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="webview.module.production.classpath">
<path refid="${module.jdk.classpath.webview}"/>
<path refid="library.json.classpath"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/asm-commons.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/annotations.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/asm-util-3.3.1.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/guava-r09.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/picocontainer.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/asm.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/cli-10.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/intellij-core.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/trove4j.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/kotlin-runtime.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/kotlin-compiler.jar"/>
<pathelement location="${basedir}/lib/log4j-1.2.16.jar"/>
<pathelement location="${basedir}/lib/commons-httpclient-3.1-patched.jar"/>
<pathelement location="${basedir}/lib/commons-lang-2.4.jar"/>
</path>
<path id="webview.runtime.production.module.classpath">
<pathelement location="${webview.output.dir}"/>
<path refid="library.json.classpath"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/asm-commons.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/annotations.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/asm-util-3.3.1.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/guava-r09.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/picocontainer.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/asm.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/cli-10.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/intellij-core.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/trove4j.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/kotlin-runtime.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/kotlin-compiler.jar"/>
<pathelement location="${basedir}/lib/log4j-1.2.16.jar"/>
<pathelement location="${basedir}/lib/commons-httpclient-3.1-patched.jar"/>
<pathelement location="${basedir}/lib/commons-lang-2.4.jar"/>
</path>
<path id="webview.module.classpath">
<path refid="${module.jdk.classpath.webview}"/>
<pathelement location="${webview.output.dir}"/>
<path refid="library.json.classpath"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/asm-commons.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/annotations.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/asm-util-3.3.1.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/guava-r09.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/picocontainer.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/asm.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/cli-10.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/intellij-core.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/trove4j.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/kotlin-runtime.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/kotlin-compiler.jar"/>
<pathelement location="${basedir}/lib/log4j-1.2.16.jar"/>
<pathelement location="${basedir}/lib/commons-httpclient-3.1-patched.jar"/>
<pathelement location="${basedir}/lib/commons-lang-2.4.jar"/>
</path>
<path id="webview.runtime.module.classpath">
<pathelement location="${webview.testoutput.dir}"/>
<pathelement location="${webview.output.dir}"/>
<path refid="library.json.classpath"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/asm-commons.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/annotations.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/asm-util-3.3.1.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/guava-r09.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/picocontainer.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/asm.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/cli-10.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/intellij-core.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/trove4j.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/kotlin-runtime.jar"/>
<pathelement location="${basedir}/../../../kotlinLibrary/lib/kotlin-compiler.jar"/>
<pathelement location="${basedir}/lib/log4j-1.2.16.jar"/>
<pathelement location="${basedir}/lib/commons-httpclient-3.1-patched.jar"/>
<pathelement location="${basedir}/lib/commons-lang-2.4.jar"/>
</path>
<patternset id="excluded.from.module.webview">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.webview">
<patternset refid="excluded.from.module.webview"/>
</patternset>
<path id="webview.module.sourcepath">
<dirset dir="${module.webview.basedir}">
<include name="src"/>
</dirset>
</path>
<target name="compile.module.webview" depends="compile.module.webview.production,compile.module.webview.tests" description="Compile module WebView"/>
<target name="compile.module.webview.production" depends="register.custom.compilers" description="Compile module WebView; production classes">
<mkdir dir="${webview.output.dir}"/>
<javac2 destdir="${webview.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.webview}/javac">
<compilerarg line="${compiler.args.webview}"/>
<bootclasspath refid="webview.module.bootclasspath"/>
<classpath refid="webview.module.production.classpath"/>
<src refid="webview.module.sourcepath"/>
<patternset refid="excluded.from.compilation.webview"/>
</javac2>
<copy todir="${webview.output.dir}">
<fileset dir="${module.webview.basedir}/src">
<patternset refid="compiler.resources"/>
<type type="file"/>
</fileset>
</copy>
</target>
<target name="compile.module.webview.tests" depends="register.custom.compilers,compile.module.webview.production" description="compile module WebView; test classes" unless="skip.tests"/>
<target name="clean.module.webview" description="cleanup module">
<delete dir="${webview.output.dir}"/>
<delete dir="${webview.testoutput.dir}"/>
</target>
</project>