forked from sylvanaar/IDLua
-
Notifications
You must be signed in to change notification settings - Fork 0
/
idlua-8-15.xml
296 lines (233 loc) · 11.5 KB
/
idlua-8-15.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<?xml version="1.0" encoding="UTF-8"?>
<project name="idlua-8-15" default="plugin.build.jar.idlua">
<!-- Compiler options -->
<property name="compiler.debug" value="on"/>
<property name="compiler.generate.no.warnings" value="off"/>
<property name="compiler.args" value=""/>
<property name="compiler.max.memory" value="256m"/>
<patternset id="ignored.files">
<exclude name="**/CVS/**"/>
<exclude name="**/SCCS/**"/>
<exclude name="**/RCS/**"/>
<exclude name="**/rcs/**"/>
<exclude name="**/.DS_Store/**"/>
<exclude name="**/.svn/**"/>
<exclude name="**/.pyc/**"/>
<exclude name="**/.pyo/**"/>
<exclude name="**/*.pyc/**"/>
<exclude name="**/*.pyo/**"/>
<exclude name="**/.git/**"/>
<exclude name="**/*.hprof/**"/>
<exclude name="**/_svn/**"/>
<exclude name="**/.hg/**"/>
<exclude name="**/.sbas/**"/>
<exclude name="**/.IJI.*/**"/>
<exclude name="**/vssver.scc/**"/>
<exclude name="**/vssver2.scc/**"/>
</patternset>
<patternset id="library.patterns">
<include name="*.war"/>
<include name="*.ear"/>
<include name="*.zip"/>
<include name="*.swc"/>
<include name="*.egg"/>
<include name="*.jar"/>
</patternset>
<patternset id="compiler.resources">
<include name="**/?*.properties"/>
<include name="**/?*.xml"/>
<include name="**/?*.gif"/>
<include name="**/?*.png"/>
<include name="**/?*.jpeg"/>
<include name="**/?*.jpg"/>
<include name="**/?*.html"/>
<include name="**/?*.dtd"/>
<include name="**/?*.tld"/>
<include name="**/?*.ftl"/>
</patternset>
<!-- Global Libraries -->
<!-- Modules -->
<!-- Module IDLuaErrors -->
<dirname property="module.idluaerrors.basedir" file="${ant.file}"/>
<property name="compiler.args.idluaerrors" value="${compiler.args}"/>
<property name="idluaerrors.output.dir" value="${module.idluaerrors.basedir}/out/production/IDLuaErrors"/>
<property name="idluaerrors.testoutput.dir" value="${module.idluaerrors.basedir}/out/test/IDLuaErrors"/>
<property name="stdlibrary.output.dir" value="${module.idluaerrors.basedir}/out/production/IDLua/stdlibrary"/>
<property name="remdebug.output.dir" value="${module.idluaerrors.basedir}/out/production/IDLua/remdebug"/>
<property name="listing.output.dir" value="${module.idluaerrors.basedir}/out/production/IDLua/listing"/>
<path id="idluaerrors.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="idluaerrors.module.production.classpath"/>
<path id="idluaerrors.runtime.production.module.classpath">
<pathelement location="${idluaerrors.output.dir}"/>
</path>
<path id="idluaerrors.module.classpath">
<pathelement location="${idluaerrors.output.dir}"/>
</path>
<path id="idluaerrors.runtime.module.classpath">
<pathelement location="${idluaerrors.output.dir}"/>
<pathelement location="${idluaerrors.testoutput.dir}"/>
</path>
<patternset id="excluded.from.module.idluaerrors">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.idluaerrors">
<patternset refid="excluded.from.module.idluaerrors"/>
</patternset>
<path id="idluaerrors.module.sourcepath">
<dirset dir="${module.idluaerrors.basedir}">
<include name="err"/>
</dirset>
</path>
<target name="clean.module.idluaerrors" description="cleanup module">
<delete dir="${idluaerrors.output.dir}"/>
<delete dir="${idluaerrors.testoutput.dir}"/>
</target>
<!-- Module IDLuaHelp -->
<dirname property="module.idluahelp.basedir" file="${ant.file}"/>
<property name="compiler.args.idluahelp" value="${compiler.args}"/>
<property name="idluahelp.output.dir" value="${module.idluahelp.basedir}/out/production/IDLuaHelp"/>
<property name="idluahelp.testoutput.dir" value="${module.idluahelp.basedir}/out/test/IDLuaHelp"/>
<path id="idluahelp.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="idluahelp.module.production.classpath"/>
<path id="idluahelp.runtime.production.module.classpath">
<pathelement location="${idluahelp.output.dir}"/>
</path>
<path id="idluahelp.module.classpath">
<pathelement location="${idluahelp.output.dir}"/>
</path>
<path id="idluahelp.runtime.module.classpath">
<pathelement location="${idluahelp.output.dir}"/>
<pathelement location="${idluahelp.testoutput.dir}"/>
</path>
<patternset id="excluded.from.module.idluahelp">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.idluahelp">
<patternset refid="excluded.from.module.idluahelp"/>
</patternset>
<target name="compile.module.idluahelp" depends="compile.module.idluahelp.production,
compile.module.idluahelp.tests"
description="Compile module IDLuaHelp"/>
<target name="compile.module.idluahelp.production" description="Compile module IDLuaHelp; production classes"/>
<target name="compile.module.idluahelp.tests" depends="compile.module.idluahelp.production"
description="compile module IDLuaHelp; test classes" unless="skip.tests"/>
<target name="clean.module.idluahelp" description="cleanup module">
<delete dir="${idluahelp.output.dir}"/>
<delete dir="${idluahelp.testoutput.dir}"/>
</target>
<!-- Module IDLua -->
<dirname property="module.idlua.basedir" file="${ant.file}"/>
<property name="compiler.args.idlua" value="${compiler.args}"/>
<property name="idlua.output.dir" value="${module.idlua.basedir}/out/production/IDLua"/>
<property name="idlua.testoutput.dir" value="${module.idlua.basedir}/out/test/IDLua"/>
<path id="idlua.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="idlua.module.production.classpath">
<pathelement location="${basedir}/lib/kahlua-core.jar"/>
<pathelement location="${basedir}/lib/kahlua-j2se.jar"/>
<pathelement location="${basedir}/lib/jsyntaxpane-0.9.5.jar"/>
<pathelement location="${idluaerrors.output.dir}"/>
<pathelement location="${idluahelp.output.dir}"/>
</path>
<path id="idlua.runtime.production.module.classpath">
<pathelement location="${idlua.output.dir}"/>
<pathelement location="${basedir}/lib/kahlua-core.jar"/>
<pathelement location="${basedir}/lib/kahlua-j2se.jar"/>
<pathelement location="${basedir}/lib/jsyntaxpane-0.9.5.jar"/>
<path refid="idluaerrors.runtime.production.module.classpath"/>
<path refid="idluahelp.runtime.production.module.classpath"/>
</path>
<path id="idlua.module.classpath">
<pathelement location="${idlua.output.dir}"/>
<pathelement location="${basedir}/lib/kahlua-core.jar"/>
<pathelement location="${basedir}/lib/kahlua-j2se.jar"/>
<pathelement location="${basedir}/lib/jsyntaxpane-0.9.5.jar"/>
<pathelement location="${idluaerrors.output.dir}"/>
<pathelement location="${idluaerrors.testoutput.dir}"/>
<pathelement location="${idluahelp.output.dir}"/>
<pathelement location="${idluahelp.testoutput.dir}"/>
</path>
<path id="idlua.runtime.module.classpath">
<pathelement location="${idlua.output.dir}"/>
<pathelement location="${idlua.testoutput.dir}"/>
<pathelement location="${basedir}/lib/kahlua-core.jar"/>
<pathelement location="${basedir}/lib/kahlua-j2se.jar"/>
<pathelement location="${basedir}/lib/jsyntaxpane-0.9.5.jar"/>
<path refid="idluaerrors.runtime.module.classpath"/>
<path refid="idluahelp.runtime.module.classpath"/>
</path>
<patternset id="excluded.from.module.idlua">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.idlua">
<patternset refid="excluded.from.module.idlua"/>
</patternset>
<path id="idlua.module.sourcepath">
<dirset dir="${module.idlua.basedir}">
<include name="src"/>
<include name="resources"/>
</dirset>
</path>
<path id="idlua.module.test.sourcepath">
<dirset dir="${module.idlua.basedir}">
<include name="test"/>
</dirset>
</path>
<target name="clean.module.idlua" description="cleanup module">
<delete dir="${idlua.output.dir}"/>
<delete dir="${idlua.testoutput.dir}"/>
</target>
<property name="idlua.plugin.path.jar" value="${module.idlua.basedir}/IDLua.zip"/>
<!-- Build archive for plugin 'IDLua' -->
<target name="plugin.build.jar.idlua" description="Build plugin archive for module 'IDLua'">
<property name="tmp.dir.idlua" value="${module.idlua.basedir}/../temp/IDLua"/>
<mkdir dir="${tmp.dir.idlua}"/>
<mkdir dir="${tmp.dir.idlua}/lib"/>
<mkdir dir="${tmp.dir.idlua}/help"/>
<mkdir dir="${tmp.dir.idlua}/stdlibrary"/>
<mkdir dir="${tmp.dir.idlua}/remdebug"/>
<mkdir dir="${tmp.dir.idlua}/listing"/>
<jar destfile="${tmp.dir.idlua}/help/IDLuaHelp.jar" duplicate="preserve">
<zipfileset dir="${module.idlua.basedir}/help"/>
</jar>
<jar destfile="${tmp.dir.idlua}/lib/IDLua.jar" duplicate="preserve">
<zipfileset dir="${module.idlua.basedir}/out/production/IDLua"/>
<zipfileset dir="${module.idlua.basedir}/out/production/IDLuaErrors"/>
<zipfileset file="${module.idlua.basedir}/META-INF/plugin.xml" prefix="META-INF"/>
<manifest>
<attribute name="Created-By" value="IntelliJ IDEA"/>
<attribute name="Manifest-Version" value="1.0"/>
</manifest>
</jar>
<copy todir="${tmp.dir.idlua}/stdlibrary">
<fileset file="${stdlibrary.output.dir}/*"/>
</copy>
<copy todir="${tmp.dir.idlua}/listing">
<fileset file="${listing.output.dir}/*"/>
</copy>
<copy todir="${tmp.dir.idlua}/remdebug">
<fileset dir="${remdebug.output.dir}" includes="**/*"/>
</copy>
<copy file="${module.idlua.basedir}/lib/kahlua-j2se.jar" tofile="${tmp.dir.idlua}/lib/kahlua-j2se.jar"/>
<copy file="${module.idlua.basedir}/lib/jsyntaxpane-0.9.5.jar"
tofile="${tmp.dir.idlua}/lib/jsyntaxpane-0.9.5.jar"/>
<copy file="${module.idlua.basedir}/lib/kahlua-core.jar" tofile="${tmp.dir.idlua}/lib/kahlua-core.jar"/>
<zip destfile="${idlua.plugin.path.jar}">
<fileset dir="${module.idlua.basedir}/../temp"/>
</zip>
<delete dir="${tmp.dir.idlua}"/>
<concat>
<filelist dir="${module.idlua.basedir}/META-INF/" files="plugin.xml"/>
</concat>
</target>
<target name="init" description="Build initialization">
<!-- Perform any build initialization in this target -->
</target>
<target name="clean" depends="clean.module.idluaerrors, clean.module.idluahelp, clean.module.idlua"
description="cleanup all"/>
</project>