-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
345 lines (326 loc) · 23.7 KB
/
build.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
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
<project name="Editor2PDF" default="build">
<!-- Generated by MPS -->
<property name="build.dir" location="build" />
<property name="build.tmp" location="${build.dir}/tmp/Editor2PDF" />
<property name="build.layout" location="${build.dir}/artifacts/Editor2PDF" />
<property name="mps_home" location="" />
<property name="org.campagnelab.editor2pdf.home" location="${basedir}" />
<property name="artifacts.mps" location="${mps_home}" />
<property file="${artifacts.mps}/build.properties" prefix="import.mps" />
<property name="mps.build.number" value="${import.mps.mps.build.number}" />
<property name="mps.date" value="${import.mps.mps.date}" />
<property name="mps.build.vcs.number" value="${import.mps.mps.build.vcs.number}" />
<property name="mps.teamcity.buildConfName" value="${import.mps.mps.teamcity.buildConfName}" />
<property name="mps.idea.platform.build.number" value="${import.mps.mps.idea.platform.build.number}" />
<property name="mpsBootstrapCore.version" value="${import.mps.mpsBootstrapCore.version}" />
<path id="path.mps.ant.path">
<pathelement location="${artifacts.mps}/lib/ant/lib/ant-mps.jar" />
<pathelement location="${artifacts.mps}/lib/jdom.jar" />
<pathelement location="${artifacts.mps}/lib/log4j.jar" />
</path>
<target name="assemble" depends="classes, declare-mps-tasks">
<mkdir dir="${build.layout}" />
<mkdir dir="${build.tmp}/default/Editor2PDF.zip" />
<mkdir dir="${build.tmp}/default/Editor2PDF.zip/Editor2PDF" />
<mkdir dir="${build.tmp}/default/Editor2PDF.zip/Editor2PDF/META-INF" />
<echoxml file="${build.tmp}/default/Editor2PDF.zip/Editor2PDF/META-INF/plugin.xml">
<idea-plugin version="2" xmlns:xi="http://www.w3.org/2001/XInclude">
<id>Editor2PDF</id>
<name>Editor2PDF</name>
<description>Editor2PDF</description>
<version>1.0</version>
<vendor url="https://github.com/CampagneLaboratory/Editor2PDF/">Campagne Laboratory</vendor>
<depends>jetbrains.mps.core</depends>
<idea-version until-build="136.1" since-build="135.1" />
<extensions defaultExtensionNs="com.intellij">
<mps.LanguageLibrary dir="/languages" />
</extensions>
</idea-plugin>
</echoxml>
<mkdir dir="${build.tmp}/default/Editor2PDF.zip/Editor2PDF/languages" />
<mkdir dir="${build.tmp}/default/Editor2PDF.zip/Editor2PDF/languages/Editor2PDF" />
<mkdir dir="${build.tmp}/default/org.campagnelab.mps.editor2pdf.jar" />
<mkdir dir="${build.tmp}/default/org.campagnelab.mps.editor2pdf.jar/META-INF" />
<echoxml file="${build.tmp}/default/org.campagnelab.mps.editor2pdf.jar/META-INF/module.xml">
<module namespace="org.campagnelab.mps.editor2pdf" type="language" uuid="93bc01ac-08ca-4f11-9c7d-614d04055dfb">
<dependencies>
<module ref="6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK)" />
<module ref="6ed54515-acc8-4d1e-a16c-9fd6cfe951ea(MPS.Core)" />
<module ref="1ed103c3-3aa6-49b7-9c21-6765ee11f224(MPS.Editor)" />
<module ref="8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI)" />
<module ref="4c6a28d1-2c60-478d-b36e-db9b3cbb21fb(closures.runtime)" />
<module ref="9b80526e-f0bf-4992-bdf5-cee39c1833f3(collections.runtime)" />
<module ref="a3e4657f-a76c-45bb-bbda-c764596ecc65(jetbrains.mps.baseLanguage.logging.runtime)" />
<module ref="d44dab97-aaac-44cb-9745-8a14db674c03(jetbrains.mps.baseLanguage.tuples.runtime)" />
<module ref="2af156ab-65c1-4a62-bd0d-ea734f71eab6(jetbrains.mps.dataFlow.runtime)" />
<module ref="8fe4c62a-2020-4ff4-8eda-f322a55bdc9f(jetbrains.mps.refactoring.runtime)" />
<module ref="9a4afe51-f114-4595-b5df-048ce3c596be(jetbrains.mps.runtime)" />
</dependencies>
<sources jar="org.campagnelab.mps.editor2pdf-src.jar" descriptor="org.campagnelab.mps.editor2pdf.mpl" />
</module>
</echoxml>
<jar destfile="${build.tmp}/default/Editor2PDF.zip/Editor2PDF/languages/Editor2PDF/org.campagnelab.mps.editor2pdf.jar">
<fileset dir="${build.tmp}/java/out/org.campagnelab.mps.editor2pdf" />
<fileset dir="${basedir}/languages/org.campagnelab.mps.editor2pdf" includes="icons/**, resources/**" />
<fileset dir="${build.tmp}/default/org.campagnelab.mps.editor2pdf.jar" />
</jar>
<jar destfile="${build.tmp}/default/Editor2PDF.zip/Editor2PDF/languages/Editor2PDF/org.campagnelab.mps.editor2pdf-generator.jar">
<fileset dir="${build.tmp}/java/out/org.campagnelab.mps.editor2pdf#8751972264247094546" />
</jar>
<copyModels todir="${build.tmp}/customProcessors/copyModels/languages-org.campagnelab.mps.editor2pdf-generator-template">
<fileset dir="${org.campagnelab.editor2pdf.home}/languages/org.campagnelab.mps.editor2pdf/generator/template" includes="**/*.mps, **/*.metadata, **/*.history, **/*.mpsr, **/.model" />
</copyModels>
<copyModels todir="${build.tmp}/customProcessors/copyModels/languages-org.campagnelab.mps.editor2pdf-languageModels">
<fileset dir="${org.campagnelab.editor2pdf.home}/languages/org.campagnelab.mps.editor2pdf/languageModels" includes="**/*.mps, **/*.metadata, **/*.history, **/*.mpsr, **/.model" />
</copyModels>
<jar destfile="${build.tmp}/default/Editor2PDF.zip/Editor2PDF/languages/Editor2PDF/org.campagnelab.mps.editor2pdf-src.jar">
<fileset dir="${org.campagnelab.editor2pdf.home}/languages/org.campagnelab.mps.editor2pdf/generator/source_gen">
<exclude name="**/trace.info" />
</fileset>
<fileset dir="${org.campagnelab.editor2pdf.home}/languages/org.campagnelab.mps.editor2pdf/source_gen">
<exclude name="**/trace.info" />
</fileset>
<zipfileset file="${basedir}/languages/org.campagnelab.mps.editor2pdf/org.campagnelab.mps.editor2pdf.mpl" prefix="module" />
<zipfileset dir="${build.tmp}/customProcessors/copyModels/languages-org.campagnelab.mps.editor2pdf-generator-template" prefix="module/generator/template" />
<zipfileset dir="${build.tmp}/customProcessors/copyModels/languages-org.campagnelab.mps.editor2pdf-languageModels" prefix="module/languageModels" />
</jar>
<mkdir dir="${build.tmp}/default/com.itext.jar" />
<mkdir dir="${build.tmp}/default/com.itext.jar/META-INF" />
<echoxml file="${build.tmp}/default/com.itext.jar/META-INF/module.xml">
<module namespace="com.itext" type="solution" uuid="fae75b6b-e1b0-446e-af11-a56ff9bea2b3">
<dependencies />
<library jar="../../lib/itext-xtra-5.5.0.jar" />
<library jar="../../lib/itext-pdfa-5.5.0.jar" />
<library jar="../../lib/itextpdf-5.5.0.jar" />
<sources jar="com.itext-src.jar" descriptor="com.itext.msd" />
</module>
</echoxml>
<jar destfile="${build.tmp}/default/Editor2PDF.zip/Editor2PDF/languages/Editor2PDF/com.itext.jar">
<fileset dir="${build.tmp}/java/out/com.itext" />
<fileset dir="${basedir}/solutions/com.itext" includes="icons/**, resources/**" />
<fileset dir="${build.tmp}/default/com.itext.jar" />
</jar>
<copyModels todir="${build.tmp}/customProcessors/copyModels/solutions-com.itext-models">
<fileset dir="${org.campagnelab.editor2pdf.home}/solutions/com.itext/models" includes="**/*.mps, **/*.metadata, **/*.history, **/*.mpsr, **/.model" />
</copyModels>
<jar destfile="${build.tmp}/default/Editor2PDF.zip/Editor2PDF/languages/Editor2PDF/com.itext-src.jar">
<fileset dir="${org.campagnelab.editor2pdf.home}/solutions/com.itext/source_gen">
<exclude name="**/trace.info" />
</fileset>
<zipfileset file="${basedir}/solutions/com.itext/com.itext.msd" prefix="module" />
<zipfileset dir="${build.tmp}/customProcessors/copyModels/solutions-com.itext-models" prefix="module/models" />
</jar>
<zip destfile="${build.layout}/Editor2PDF.zip">
<zipfileset file="${org.campagnelab.editor2pdf.home}/solutions/com.itext/itext-xtra-5.5.0.jar" prefix="Editor2PDF/lib" />
<zipfileset file="${org.campagnelab.editor2pdf.home}/solutions/com.itext/itext-pdfa-5.5.0.jar" prefix="Editor2PDF/lib" />
<zipfileset file="${org.campagnelab.editor2pdf.home}/solutions/com.itext/itextpdf-5.5.0.jar" prefix="Editor2PDF/lib" />
<fileset dir="${build.tmp}/default/Editor2PDF.zip" />
</zip>
<echo file="${build.layout}/build.properties">mps.build.number=${mps.build.number}${line.separator}mps.date=${mps.date}${line.separator}mps.build.vcs.number=${mps.build.vcs.number}${line.separator}mps.teamcity.buildConfName=${mps.teamcity.buildConfName}${line.separator}mps.idea.platform.build.number=${mps.idea.platform.build.number}${line.separator}mpsBootstrapCore.version=${mpsBootstrapCore.version}</echo>
</target>
<target name="buildDependents" />
<target name="fetchDependencies" />
<target name="build" depends="assemble" />
<target name="clean">
<delete dir="${build.tmp}" />
<delete dir="${build.layout}" />
</target>
<target name="compileJava" depends="java.compile.org.campagnelab.mps.editor2pdf, java.compile.org.campagnelab.mps.editor2pdf#8751972264247094546, java.compile.com.itext" />
<target name="processResources" />
<target name="classes" depends="compileJava, processResources" />
<target name="test" depends="classes" />
<target name="check" depends="test" />
<target name="generate" depends="declare-mps-tasks, fetchDependencies">
<echo message="generating" />
<generate strictMode="true" parallelMode="true" parallelThreads="8" useInplaceTransform="false" hideWarnings="false" fork="true">
<plugin path="${artifacts.mps}/plugins/mps-core/META-INF/plugin.xml/../.." />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.blTypes.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.classifiers.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.closures.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.collections.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.extensionMethods.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.javadoc.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.jdk7.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.logging.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.logging.runtime.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.scopes.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.tuples.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguageInternal.jar" />
<library file="${artifacts.mps}/languages/devkits/jetbrains.mps.devkit.bootstrap-languages.devkit" />
<library file="${artifacts.mps}/languages/devkits/jetbrains.mps.devkit.general-purpose.devkit" />
<library file="${artifacts.mps}/languages/devkits/jetbrains.mps.devkit.language-design.devkit" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.access.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.actions.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.behavior.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.checkedName.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.constraints.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.core.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.dataFlow.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.descriptor.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.editor.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.findUsages.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.generator.generationContext.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.generator.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.intentions.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.pattern.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.plugin.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.project.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.quotation.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.refactoring.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.resources.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.scopes.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.scopes.runtime.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.script.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.sharedConcepts.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.smodel.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.structure.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.stubs.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.textGen.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.traceable.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.typesystem.jar" />
<library file="${artifacts.mps}/languages/xml/jetbrains.mps.core.xml.jar" />
<library file="${artifacts.mps}/lib/mps-closures.jar" />
<library file="${artifacts.mps}/lib/mps-collections.jar" />
<library file="${artifacts.mps}/lib/mps-core.jar" />
<library file="${artifacts.mps}/lib/mps-editor.jar" />
<library file="${artifacts.mps}/lib/mps-openapi.jar" />
<library file="${artifacts.mps}/lib/mps-platform.jar" />
<library file="${artifacts.mps}/lib/mps-tuples.jar" />
<chunk>
<module file="${basedir}/solutions/com.itext/com.itext.msd" />
<module file="${basedir}/languages/org.campagnelab.mps.editor2pdf/org.campagnelab.mps.editor2pdf.mpl" />
</chunk>
<chunk />
<jvmargs>
<arg value="-Xmx512m" />
</jvmargs>
<macro name="mps_home" path="${mps_home}" />
<macro name="org.campagnelab.editor2pdf.home" path="${org.campagnelab.editor2pdf.home}" />
</generate>
</target>
<target name="declare-mps-tasks">
<taskdef resource="jetbrains/mps/build/ant/antlib.xml" classpathref="path.mps.ant.path" />
</target>
<target name="makeDependents" />
<target name="java.compile.org.campagnelab.mps.editor2pdf" depends="java.compile.com.itext, fetchDependencies">
<mkdir dir="${org.campagnelab.editor2pdf.home}/languages/org.campagnelab.mps.editor2pdf/source_gen" />
<mkdir dir="${build.tmp}/java/out/org.campagnelab.mps.editor2pdf" />
<javac destdir="${build.tmp}/java/out/org.campagnelab.mps.editor2pdf" fork="true" includeantruntime="false">
<compilerarg value="-Xlint:none" />
<src>
<path location="${org.campagnelab.editor2pdf.home}/languages/org.campagnelab.mps.editor2pdf/source_gen" />
</src>
<classpath>
<pathelement path="${build.tmp}/java/out/com.itext" />
<fileset file="${artifacts.mps}/lib/mps-openapi.jar" />
<fileset file="${artifacts.mps}/lib/mps-closures.jar" />
<fileset file="${artifacts.mps}/lib/mps-collections.jar" />
<fileset file="${artifacts.mps}/lib/mps-tuples.jar" />
<fileset file="${artifacts.mps}/lib/mps-core.jar" />
<fileset file="${artifacts.mps}/lib/mps-editor-api.jar" />
<fileset file="${artifacts.mps}/lib/mps-editor-runtime.jar" />
<fileset file="${artifacts.mps}/lib/mps-editor.jar" />
<fileset file="${artifacts.mps}/lib/mps-platform.jar" />
<fileset file="${org.campagnelab.editor2pdf.home}/solutions/com.itext/itext-xtra-5.5.0.jar" />
<fileset file="${org.campagnelab.editor2pdf.home}/solutions/com.itext/itext-pdfa-5.5.0.jar" />
<fileset file="${org.campagnelab.editor2pdf.home}/solutions/com.itext/itextpdf-5.5.0.jar" />
<fileset file="${artifacts.mps}/lib/log4j.jar" />
<fileset file="${artifacts.mps}/lib/annotations.jar" />
<fileset file="${artifacts.mps}/lib/jdom.jar" />
<fileset file="${artifacts.mps}/lib/ecj-4.3.2.jar" />
<fileset file="${artifacts.mps}/lib/trove4j.jar" />
<fileset file="${artifacts.mps}/lib/xstream-1.4.3.jar" />
<fileset file="${artifacts.mps}/lib/asm4-all.jar" />
<fileset file="${artifacts.mps}/lib/asm-all.jar" />
<fileset file="${artifacts.mps}/lib/diffutils-1.2.1.jar" />
<fileset dir="${artifacts.mps}/lib" includes="*.jar" />
<fileset file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.jar" />
<fileset file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.blTypes.jar" />
<fileset file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.classifiers.jar" />
<fileset file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.closures.jar" />
<fileset file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.collections.jar" />
<fileset file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.scopes.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.access.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.actions.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.constraints.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.core.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.editor.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.sharedConcepts.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.smodel.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.structure.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.traceable.jar" />
</classpath>
</javac>
</target>
<target name="java.compile.org.campagnelab.mps.editor2pdf#8751972264247094546" depends="java.compile.com.itext, java.compile.org.campagnelab.mps.editor2pdf, fetchDependencies">
<mkdir dir="${org.campagnelab.editor2pdf.home}/languages/org.campagnelab.mps.editor2pdf/generator/source_gen" />
<mkdir dir="${build.tmp}/java/out/org.campagnelab.mps.editor2pdf#8751972264247094546" />
<javac destdir="${build.tmp}/java/out/org.campagnelab.mps.editor2pdf#8751972264247094546" fork="true" includeantruntime="false">
<compilerarg value="-Xlint:none" />
<src>
<path location="${org.campagnelab.editor2pdf.home}/languages/org.campagnelab.mps.editor2pdf/generator/source_gen" />
</src>
<classpath>
<pathelement path="${build.tmp}/java/out/com.itext" />
<fileset file="${artifacts.mps}/lib/mps-openapi.jar" />
<fileset file="${artifacts.mps}/lib/mps-closures.jar" />
<fileset file="${artifacts.mps}/lib/mps-collections.jar" />
<fileset file="${artifacts.mps}/lib/mps-tuples.jar" />
<fileset file="${artifacts.mps}/lib/mps-core.jar" />
<fileset file="${artifacts.mps}/lib/mps-editor-api.jar" />
<fileset file="${artifacts.mps}/lib/mps-editor-runtime.jar" />
<fileset file="${artifacts.mps}/lib/mps-editor.jar" />
<fileset file="${artifacts.mps}/lib/mps-platform.jar" />
<pathelement path="${build.tmp}/java/out/org.campagnelab.mps.editor2pdf" />
<fileset file="${org.campagnelab.editor2pdf.home}/solutions/com.itext/itext-xtra-5.5.0.jar" />
<fileset file="${org.campagnelab.editor2pdf.home}/solutions/com.itext/itext-pdfa-5.5.0.jar" />
<fileset file="${org.campagnelab.editor2pdf.home}/solutions/com.itext/itextpdf-5.5.0.jar" />
<fileset file="${artifacts.mps}/lib/log4j.jar" />
<fileset file="${artifacts.mps}/lib/annotations.jar" />
<fileset file="${artifacts.mps}/lib/jdom.jar" />
<fileset file="${artifacts.mps}/lib/ecj-4.3.2.jar" />
<fileset file="${artifacts.mps}/lib/trove4j.jar" />
<fileset file="${artifacts.mps}/lib/xstream-1.4.3.jar" />
<fileset file="${artifacts.mps}/lib/asm4-all.jar" />
<fileset file="${artifacts.mps}/lib/asm-all.jar" />
<fileset file="${artifacts.mps}/lib/diffutils-1.2.1.jar" />
<fileset dir="${artifacts.mps}/lib" includes="*.jar" />
<fileset file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.jar" />
<fileset file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.blTypes.jar" />
<fileset file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.classifiers.jar" />
<fileset file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.closures.jar" />
<fileset file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.collections.jar" />
<fileset file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.scopes.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.actions.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.constraints.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.core.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.editor.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.sharedConcepts.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.smodel.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.structure.jar" />
<fileset file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.traceable.jar" />
</classpath>
</javac>
</target>
<target name="java.compile.com.itext">
<mkdir dir="${org.campagnelab.editor2pdf.home}/solutions/com.itext/source_gen" />
<mkdir dir="${build.tmp}/java/out/com.itext" />
<javac destdir="${build.tmp}/java/out/com.itext" fork="true" includeantruntime="false">
<compilerarg value="-Xlint:none" />
<src>
<path location="${org.campagnelab.editor2pdf.home}/solutions/com.itext/source_gen" />
</src>
<classpath>
<fileset file="${org.campagnelab.editor2pdf.home}/solutions/com.itext/itext-xtra-5.5.0.jar" />
<fileset file="${org.campagnelab.editor2pdf.home}/solutions/com.itext/itext-pdfa-5.5.0.jar" />
<fileset file="${org.campagnelab.editor2pdf.home}/solutions/com.itext/itextpdf-5.5.0.jar" />
</classpath>
</javac>
</target>
<target name="cleanSources">
<delete dir="${org.campagnelab.editor2pdf.home}/solutions/com.itext/source_gen" />
<delete dir="${org.campagnelab.editor2pdf.home}/languages/org.campagnelab.mps.editor2pdf/source_gen" />
<delete dir="${org.campagnelab.editor2pdf.home}/languages/org.campagnelab.mps.editor2pdf/generator/source_gen" />
</target>
</project>