-
Notifications
You must be signed in to change notification settings - Fork 1
/
buildAll.xml
238 lines (220 loc) · 17 KB
/
buildAll.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
<project name="de.doge.mps.dot.build.entry" default="build">
<!-- Generated by MPS -->
<property name="build.dir" location="build" />
<property name="build.tmp" location="${build.dir}/tmp/de.doge.mps.dot.build.entry" />
<property name="build.layout" location="${build.dir}/artifacts/de.doge.mps.dot.build.entry" />
<property name="root.project" location="${basedir}" />
<property name="root.build" location="${root.project}/build" />
<property name="root.mps" location="${root.project}/build/mps" />
<property name="root.module" location="${root.project}/mps" />
<property name="root.dependencies" location="${root.project}/mps/dependencies" />
<property name="artifacts.mps" location="${root.mps}" />
<property name="artifacts.de.itemis.mps.extensions" location="${root.dependencies}/de.itemis.mps.extensions/" />
<property file="${artifacts.mps}/build.properties" prefix="import.mps" />
<property file="${artifacts.de.itemis.mps.extensions}/build.properties" prefix="import.de.itemis.mps.extensions" />
<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="mps.mps.build.counter" value="${import.mps.mps.mps.build.counter}" />
<property name="mpsBootstrapCore.version.major" value="${import.mps.mpsBootstrapCore.version.major}" />
<property name="mpsBootstrapCore.version.minor" value="${import.mps.mpsBootstrapCore.version.minor}" />
<property name="mpsBootstrapCore.version.bugfixNr" value="${import.mps.mpsBootstrapCore.version.bugfixNr}" />
<property name="mpsBootstrapCore.version.eap" value="${import.mps.mpsBootstrapCore.version.eap}" />
<property name="mpsBootstrapCore.version" value="${import.mps.mpsBootstrapCore.version}" />
<property name="de.itemis.mps.extensions.versionNumber" value="${import.de.itemis.mps.extensions.de.itemis.mps.extensions.versionNumber}" />
<property name="environment" value="env" />
<property name="env.JAVA_HOME" value="${java.home}/.." />
<property name="jdk.home" value="${env.JAVA_HOME}" />
<property name="mps.generator.skipUnmodifiedModels" value="false" />
<property name="mps.ant.log" value="warn" />
<path id="path.mps.ant.path">
<pathelement location="${artifacts.mps}/lib/ant/lib/ant-mps.jar" />
<fileset dir="${artifacts.mps}/lib">
<include name="util.jar" />
<include name="3rd-party-rt.jar" />
</fileset>
</path>
<taskdef resource="jetbrains/mps/build/ant/antlib.xml" classpathref="path.mps.ant.path" />
<generator-settings id="m2m-defaults" strictMode="true" parallelThreads="8" inplaceTransform="false" warnWrongChild="true" createStaticRefs="true" skipUnmodifiedModels="${mps.generator.skipUnmodifiedModels}" />
<target name="assemble" depends="classes, declare-mps-tasks">
<mkdir dir="${build.layout}" />
<mkdir dir="${build.tmp}/default/libre.doge.mps.dot.build.jar" />
<mkdir dir="${build.tmp}/default/libre.doge.mps.dot.build.jar/META-INF" />
<echoxml file="${build.tmp}/default/libre.doge.mps.dot.build.jar/META-INF/module.xml">
<module namespace="libre.doge.mps.dot.build" type="solution" uuid="d7ba70f9-2674-4db6-8c37-518c70d355ae">
<dependencies>
<module ref="f1fb7b1c-ce0d-423c-9369-4a661d600029(de.itemis.mps.extensions.build)" kind="cl" />
<module ref="422c2909-59d6-41a9-b318-40e6256b250f(jetbrains.mps.ide.build)" kind="cl" />
</dependencies>
<uses>
<language id="l:798100da-4f0a-421a-b991-71f8c50ce5d2:jetbrains.mps.build" />
<language id="l:0cf935df-4699-4e9c-a132-fa109541cba3:jetbrains.mps.build.mps" />
<language id="l:479c7a8c-02f9-43b5-9139-d910cb22f298:jetbrains.mps.core.xml" />
</uses>
<classpath>
<entry path="." />
</classpath>
<sources jar="libre.doge.mps.dot.build-src.jar" descriptor="libre.doge.mps.dot.build.msd" />
</module>
</echoxml>
<jar destfile="${build.layout}/libre.doge.mps.dot.build.jar" duplicate="preserve">
<fileset dir="${build.tmp}/java/out/libre.doge.mps.dot.build" />
<fileset dir="${root.module}/solutions/libre.doge.mps.dot.build/source_gen" includes="**/trace.info, **/exports, **/*.mps, **/checkpoints" />
<fileset dir="${build.tmp}/default/libre.doge.mps.dot.build.jar" />
</jar>
<copyModels todir="${build.tmp}/customProcessors/copyModels/solutions-libre.doge.mps.dot.build-models">
<fileset dir="${root.module}/solutions/libre.doge.mps.dot.build/models" includes="**/*.mps, **/*.mpsr, **/.model" />
</copyModels>
<jar destfile="${build.layout}/libre.doge.mps.dot.build-src.jar" duplicate="preserve">
<fileset dir="${root.module}/solutions/libre.doge.mps.dot.build/source_gen">
<exclude name="**/trace.info" />
<exclude name="**/exports" />
<exclude name="**/checkpoints" />
<exclude name="**/*.mps" />
</fileset>
<zipfileset file="${root.module}/solutions/libre.doge.mps.dot.build/libre.doge.mps.dot.build.msd" prefix="module" />
<zipfileset dir="${build.tmp}/customProcessors/copyModels/solutions-libre.doge.mps.dot.build-models" prefix="module/models" />
</jar>
<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}mps.mps.build.counter=${mps.mps.build.counter}${line.separator}mpsBootstrapCore.version.major=${mpsBootstrapCore.version.major}${line.separator}mpsBootstrapCore.version.minor=${mpsBootstrapCore.version.minor}${line.separator}mpsBootstrapCore.version.bugfixNr=${mpsBootstrapCore.version.bugfixNr}${line.separator}mpsBootstrapCore.version.eap=${mpsBootstrapCore.version.eap}${line.separator}mpsBootstrapCore.version=${mpsBootstrapCore.version}${line.separator}de.itemis.mps.extensions.versionNumber=${de.itemis.mps.extensions.versionNumber}</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.libre.doge.mps.dot.build" />
<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 fork="true" logLevel="${mps.ant.log}">
<settings refid="m2m-defaults" />
<plugin path="${artifacts.de.itemis.mps.extensions}/de.itemis.mps.extensions.build" />
<plugin path="${artifacts.mps}/plugins/mps-build" />
<plugin path="${artifacts.mps}/plugins/mps-core" />
<library file="${artifacts.mps}/languages/baseLanguage/closures.runtime.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/collections.runtime.jar" />
<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.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.jdk8.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.references.runtime.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.regexp.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.regexp.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.baseLanguage.tuples.runtime.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.util.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguageInternal.jar" />
<library file="${artifacts.mps}/languages/editor/jetbrains.mps.editing.runtime.jar" />
<library file="${artifacts.mps}/languages/editor/jetbrains.mps.editor.runtime.jar" />
<library file="${artifacts.mps}/languages/editor/jetbrains.mps.editorlang.runtime.jar" />
<library file="${artifacts.mps}/languages/editor/jetbrains.mps.ide.editor.jar" />
<library file="${artifacts.mps}/languages/editor/typesystemIntegration.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.baseLanguage.lightweightdsl.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.constraints.rules.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.constraints.rules.kinds.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.constraints.rules.skeleton.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.context.defs.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.context.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.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.migration.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.modelapi.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.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.smodel.query.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.lang.structure.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/languageDesign/jetbrains.mps.refactoring.participant.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.typesystemEngine.jar" />
<library file="${artifacts.mps}/languages/make/jetbrains.mps.make.facets.jar" />
<library file="${artifacts.mps}/languages/make/jetbrains.mps.make.jar" />
<library file="${artifacts.mps}/languages/make/jetbrains.mps.make.runtime.jar" />
<library file="${artifacts.mps}/languages/make/jetbrains.mps.smodel.resources.jar" />
<library file="${artifacts.mps}/languages/mps-stubs.jar" />
<library file="${artifacts.mps}/languages/plaf/jetbrains.mps.baseLanguage.search.jar" />
<library file="${artifacts.mps}/languages/plaf/jetbrains.mps.ide.platform.jar" />
<library file="${artifacts.mps}/languages/plaf/jetbrains.mps.ide.refactoring.platform.jar" />
<library file="${artifacts.mps}/languages/runtimes/jetbrains.mps.analyzers.runtime.jar" />
<library file="${artifacts.mps}/languages/runtimes/jetbrains.mps.dataFlow.runtime.jar" />
<library file="${artifacts.mps}/languages/runtimes/jetbrains.mps.findUsages.runtime.jar" />
<library file="${artifacts.mps}/languages/runtimes/jetbrains.mps.lang.behavior.api.jar" />
<library file="${artifacts.mps}/languages/runtimes/jetbrains.mps.lang.feedback.context.jar" />
<library file="${artifacts.mps}/languages/runtimes/jetbrains.mps.lang.feedback.problem.legacy-constraints.jar" />
<library file="${artifacts.mps}/languages/runtimes/jetbrains.mps.lang.feedback.problem.rt.jar" />
<library file="${artifacts.mps}/languages/runtimes/jetbrains.mps.lang.migration.runtime.jar" />
<library file="${artifacts.mps}/languages/runtimes/jetbrains.mps.lang.smodel.query.runtime.jar" />
<library file="${artifacts.mps}/languages/runtimes/jetbrains.mps.refactoring.runtime.jar" />
<library file="${artifacts.mps}/languages/text/jetbrains.mps.lang.text.jar" />
<library file="${artifacts.mps}/languages/tools/jetbrains.mps.core.tool.environment.jar" />
<library file="${artifacts.mps}/languages/tools/jetbrains.mps.tool.common.jar" />
<library file="${artifacts.mps}/languages/util/jetbrains.mps.java.stub.jar" />
<library file="${artifacts.mps}/languages/util/jetbrains.mps.kernel.jar" />
<library file="${artifacts.mps}/languages/util/jetbrains.mps.lang.makeup.jar" />
<library file="${artifacts.mps}/languages/util/jetbrains.mps.project.jar" />
<library file="${artifacts.mps}/languages/util/jetbrains.mps.refactoring.jar" />
<library file="${artifacts.mps}/languages/util/jetbrains.mps.runtime.jar" />
<library file="${artifacts.mps}/languages/xml/jetbrains.mps.core.xml.jar" />
<chunk>
<module file="${root.module}/solutions/libre.doge.mps.dot.build/libre.doge.mps.dot.build.msd" />
</chunk>
<jvmargs>
<arg value="-ea" />
<arg value="-Xmx512m" />
</jvmargs>
<macro name="root.project" path="${root.project}" />
<macro name="root.build" path="${root.build}" />
<macro name="root.mps" path="${root.mps}" />
<macro name="root.module" path="${root.module}" />
<macro name="root.dependencies" path="${root.dependencies}" />
</generate>
</target>
<target name="declare-mps-tasks" />
<target name="makeDependents" />
<target name="java.compile.libre.doge.mps.dot.build">
<mkdir dir="${root.module}/solutions/libre.doge.mps.dot.build/source_gen" />
<mkdir dir="${build.tmp}/java/out/libre.doge.mps.dot.build" />
<javac destdir="${build.tmp}/java/out/libre.doge.mps.dot.build" fork="true" encoding="utf8" includeantruntime="false" debug="true">
<compilerarg value="-Xlint:none" />
<src>
<path location="${root.module}/solutions/libre.doge.mps.dot.build/source_gen" />
</src>
<classpath>
<fileset file="${artifacts.de.itemis.mps.extensions}/de.itemis.mps.extensions.build/languages/de.itemis.mps.extensions.build/de.itemis.mps.extensions.build.jar" />
</classpath>
</javac>
</target>
<target name="cleanSources">
<delete dir="${root.module}/solutions/libre.doge.mps.dot.build/source_gen" />
</target>
</project>