-
Notifications
You must be signed in to change notification settings - Fork 5
/
SmartMDSD.github.setup
491 lines (491 loc) · 19.6 KB
/
SmartMDSD.github.setup
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
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
<?xml version="1.0" encoding="UTF-8"?>
<setup:Project
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:git="http://www.eclipse.org/oomph/setup/git/1.0"
xmlns:jdt="http://www.eclipse.org/oomph/setup/jdt/1.0"
xmlns:launching="http://www.eclipse.org/oomph/setup/launching/1.0"
xmlns:predicates="http://www.eclipse.org/oomph/predicates/1.0"
xmlns:projects="http://www.eclipse.org/oomph/setup/projects/1.0"
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0"
xmlns:setup.targlets="http://www.eclipse.org/oomph/setup/targlets/1.0"
xmlns:setup.workingsets="http://www.eclipse.org/oomph/setup/workingsets/1.0"
xsi:schemaLocation="http://www.eclipse.org/oomph/setup/git/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Git.ecore http://www.eclipse.org/oomph/setup/jdt/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore http://www.eclipse.org/oomph/setup/launching/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Launching.ecore http://www.eclipse.org/oomph/predicates/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/projects/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Projects.ecore http://www.eclipse.org/oomph/setup/targlets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupTarglets.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore"
name="SmartMDSD.github"
label="SmartMDSD Toolchain v3 (Github sources)">
<setupTask
xsi:type="jdt:JRETask"
version="JavaSE-1.8"
location="${jre.location-1.8}">
<description>Define the JRE needed to compile and run the Java projects of ${scope.project.label}</description>
</setupTask>
<setupTask
xsi:type="setup:EclipseIniTask"
option="-Xmx"
value="1024m"
vm="true">
<description>Set the heap space needed to work with the projects of ${scope.project.label}</description>
</setupTask>
<setupTask
xsi:type="setup:ResourceCreationTask"
excludedTriggers="STARTUP MANUAL"
content="<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
	<section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart">
		<item value="true" key="group_libraries"/>
		<item value="false" key="linkWithEditor"/>
		<item value="2" key="layout"/>
		<item value="2" key="rootMode"/>
		<item value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0D;&#x0A;&lt;packageExplorer configured=&quot;true&quot; group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;2&quot; sortWorkingSets=&quot;false&quot; workingSetName=&quot;&quot;&gt;&#x0D;&#x0A;&lt;localWorkingSetManager&gt;&#x0D;&#x0A;&lt;workingSet editPageId=&quot;org.eclipse.jdt.internal.ui.OthersWorkingSet&quot; factoryID=&quot;org.eclipse.ui.internal.WorkingSetFactory&quot; id=&quot;1382792884467_1&quot; label=&quot;Other Projects&quot; name=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;/localWorkingSetManager&gt;&#x0D;&#x0A;&lt;activeWorkingSet workingSetName=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;allWorkingSets workingSetName=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;/packageExplorer&gt;" key="memento"/>
	</section>
</section>
"
targetURL="${workspace.location|uri}/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml"
encoding="UTF-8">
<description>Initialize JDT's package explorer to show working sets as its root objects</description>
</setupTask>
<setupTask
xsi:type="setup:VariableTask"
name="eclipse.target.platform"
defaultValue="Oxygen"
storageURI="scope://Workspace"/>
<setupTask
xsi:type="setup.p2:P2Task">
<requirement
name="org.eclipse.xtext.sdk.feature.group"/>
<requirement
name="org.eclipse.sirius.specifier.feature.group"/>
<requirement
name="org.eclipse.sirius.runtime.ide.xtext.feature.group"/>
<requirement
name="org.eclipse.cdt.feature.group"/>
<requirement
name="org.eclipse.emf.compare.feature.group"/>
<description>Install the tools needed in the IDE to work with the source code for ${scope.project.label}</description>
</setupTask>
<setupTask
xsi:type="git:GitCloneTask"
id="git.clone.SmartMDSD.github"
remoteURI="Servicerobotics-Ulm/SmartMDSD-Toolchain">
<annotation
source="http://www.eclipse.org/oomph/setup/InducedChoices">
<detail
key="inherit">
<value>github.remoteURIs</value>
</detail>
<detail
key="label">
<value>SmartMDSD Toolchain v3 Github repository</value>
</detail>
<detail
key="target">
<value>remoteURI</value>
</detail>
</annotation>
<description>${scope.project.label}</description>
</setupTask>
<setupTask
xsi:type="setup.targlets:TargletTask">
<targlet
name="SmartMDSD-Toolchain-Target"
activeRepositoryList="${eclipse.target.platform}">
<requirement
name="org.eclipse.sdk.feature.group"/>
<requirement
name="*"/>
<requirement
name="org.eclipse.xtext.sdk.feature.group"/>
<requirement
name="org.eclipse.sirius.specifier.feature.group"/>
<requirement
name="org.eclipse.sirius.runtime.ide.xtext.feature.group"/>
<requirement
name="org.eclipse.cdt.feature.group"/>
<requirement
name="org.eclipse.emf.compare.feature.group"/>
<sourceLocator
rootFolder="${git.clone.SmartMDSD.github.location}"
locateNestedProjects="true"/>
<repositoryList
name="Photon">
<repository
url="http://download.eclipse.org/releases/photon"/>
</repositoryList>
<repositoryList
name="Oxygen">
<repository
url="http://download.eclipse.org/releases/oxygen"/>
</repositoryList>
<repositoryList
name="Neon">
<repository
url="http://download.eclipse.org/releases/neon"/>
</repositoryList>
<repositoryList
name="Mars">
<repository
url="http://download.eclipse.org/releases/mars"/>
</repositoryList>
<repositoryList
name="Luna">
<repository
url="http://download.eclipse.org/releases/luna"/>
</repositoryList>
<repositoryList
name="Kepler">
<repository
url="http://download.eclipse.org/releases/kepler"/>
</repositoryList>
<repositoryList
name="Juno">
<repository
url="http://download.eclipse.org/releases/juno"/>
</repositoryList>
</targlet>
</setupTask>
<setupTask
xsi:type="setup.workingsets:WorkingSetTask">
<workingSet
name="org.ecore.metamodels"
id="org.ecore.metamodels">
<predicate
xsi:type="predicates:NamePredicate"
pattern="org.ecore.*"/>
</workingSet>
<workingSet
name="org.sirius.designs"
id="org.sirius.designs">
<predicate
xsi:type="predicates:NamePredicate"
pattern="org.sirius.*"/>
</workingSet>
<workingSet
name="org.xtext.grammars"
id="org.xtext.grammars">
<predicate
xsi:type="predicates:NamePredicate"
pattern="org.xtext.*"/>
</workingSet>
<workingSet
name="org.xtend.generators"
id="org.xtend.generators">
<predicate
xsi:type="predicates:OrPredicate">
<operand
xsi:type="predicates:NamePredicate"
pattern="org.xtend.*"/>
<operand
xsi:type="predicates:NamePredicate"
pattern="org.open62541.xml.compiler"/>
</predicate>
</workingSet>
<workingSet
name="org.infrastructure"
id="org.infrastructure">
<predicate
xsi:type="predicates:OrPredicate">
<operand
xsi:type="predicates:NamePredicate"
pattern="org.smartmdsd.*"/>
<operand
xsi:type="predicates:NamePredicate"
pattern="org.project.creation.wizards"/>
<operand
xsi:type="predicates:NamePredicate"
pattern="org.smartsoft.utils"/>
<operand
xsi:type="predicates:NamePredicate"
pattern="org.v2.to.v3.converter"/>
</predicate>
</workingSet>
<description>The dynamic working sets for ${scope.project.label}</description>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
id="GenerateXtextGrammars"
name="GenerateXtextGrammars">
<setupTask
xsi:type="projects:ProjectsBuildTask"
id="SmartMDSD-one"
refresh="true">
<description>First build round</description>
</setupTask>
<setupTask
xsi:type="projects:ProjectsBuildTask"
id="SmartMDSD-two"
refresh="true">
<description>Second build round to compile generated xtend-gen folders</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateBasicAttributes"
launcher="GenerateBasicAttributes">
<description>GenerateBasicAttributes</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateStateMachine"
launcher="GenerateStateMachine">
<description>GenerateStateMachine</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateGenericDatasheet"
launcher="GenerateGenericDatasheet">
<description>GenerateGenericDatasheet</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateSkillDefinition"
launcher="GenerateSkillDefinition">
<description>GenerateSkillDefinition</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateCommunicationObject"
launcher="GenerateCommunicationObject">
<description>GenerateCommunicationObject</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateRoboticMiddleware"
launcher="GenerateRoboticMiddleware">
<description>GenerateRoboticMiddleware</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateComponentMode"
launcher="GenerateComponentMode">
<description>GenerateComponentMode</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateParameterDefinition"
launcher="GenerateParameterDefinition">
<description>GenerateParameterDefinition</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateServiceDefinition"
launcher="GenerateServiceDefinition">
<description>GenerateServiceDefinition</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateDomainModelsDatasheet"
launcher="GenerateDomainModelsDatasheet">
<description>GenerateDomainModelsDatasheet</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateComponentDefinition"
launcher="GenerateComponentDefinition">
<description>GenerateComponentDefinition</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateComponentDocumentation"
launcher="GenerateComponentDocumentation">
<description>GenerateComponentDocumentation</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateComponentDatasheet"
launcher="GenerateComponentDatasheet">
<description>GenerateComponentDatasheet</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateComponentParameter"
launcher="GenerateComponentParameter">
<description>GenerateComponentParameter</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateSkillRealization"
launcher="GenerateSkillRealization">
<description>GenerateSkillRealization</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateActivityArchitecture"
launcher="GenerateActivityArchitecture">
<description>GenerateActivityArchitecture</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateCauseEffectChain"
launcher="GenerateCauseEffectChain">
<description>GenerateCauseEffectChain</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateTargetPlatform"
launcher="GenerateTargetPlatform">
<description>GenerateTargetPlatform</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateSystemParameter"
launcher="GenerateSystemParameter">
<description>GenerateSystemParameter</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateComponentArchitecture"
launcher="GenerateComponentArchitecture">
<description>GenerateComponentArchitecture</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateDeployment"
launcher="GenerateDeployment">
<description>GenerateDeployment</description>
</setupTask>
<setupTask
xsi:type="projects:ProjectsBuildTask"
id="SmartMDSD-three"
refresh="true">
<description>Final build round to reflect generated files</description>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="UserPreferences">
<annotation
source="http://www.eclipse.org/oomph/setup/UserPreferences"/>
<setupTask
xsi:type="setup:CompoundTask"
name="org.eclipse.oomph.setup.ui">
<setupTask
xsi:type="setup:PreferenceTask"
key="skip.startup.tasks"
value="true"/>
</setupTask>
</setupTask>
<description>GenerateXtextGrammars</description>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="UserPreferences">
<annotation
source="http://www.eclipse.org/oomph/setup/UserPreferences"/>
<setupTask
xsi:type="setup:CompoundTask"
name="org.eclipse.oomph.setup.ui">
<setupTask
xsi:type="setup:PreferenceTask"
key="skip.startup.tasks"
value="true"/>
</setupTask>
</setupTask>
<project name="SeRoNet-ROS-Mixed-Port"
label="SeRoNet ROS MixedPort (experimental)">
<setupTask
xsi:type="git:GitCloneTask"
id="git.clone.ROSMixedPort.github"
remoteURI="Servicerobotics-Ulm/SeRoNet-Tooling-ROS-Mixed-Port">
<annotation
source="http://www.eclipse.org/oomph/setup/InducedChoices">
<detail
key="inherit">
<value>github.remoteURIs</value>
</detail>
<detail
key="label">
<value>SeRoNet ROS MixedPort Github repository</value>
</detail>
<detail
key="target">
<value>remoteURI</value>
</detail>
</annotation>
<description>SeRoNet ROS MixedPort</description>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task">
<requirement
name="org.eclipse.xtext.sdk.feature.group"/>
<requirement
name="org.eclipse.sdk.feature.group"/>
</setupTask>
<setupTask
xsi:type="setup.targlets:TargletTask"
targetName="Modular Target for SeRoNet-ROS-MixedPort">
<targlet
name="SeRoNet-ROS-MixedPort-Target"
activeRepositoryList="${eclipse.target.platform}">
<requirement
name="*"/>
<requirement
name="org.eclipse.sdk.feature.group"/>
<requirement
name="org.eclipse.xtext.sdk.feature.group"/>
<sourceLocator
rootFolder="${git.clone.ROSMixedPort.github.location}"
locateNestedProjects="true">
<excludedPath>de.seronet_projekt.ros.componentGateway.generator</excludedPath>
<excludedPath>ROS-MixedPort-Examples</excludedPath>
</sourceLocator>
<sourceLocator
rootFolder="${git.clone.SmartMDSD.github.location}"
locateNestedProjects="true"/>
<repositoryList
name="Oxygen">
<repository
url="http://download.eclipse.org/releases/oxygen"/>
</repositoryList>
<repositoryList
name="Photon">
<repository
url="http://download.eclipse.org/releases/photon"/>
</repositoryList>
</targlet>
</setupTask>
<setupTask
xsi:type="setup.workingsets:WorkingSetTask">
<workingSet
name="de.seronet_projekt"
id="de.seronet_projekt">
<predicate
xsi:type="predicates:NamePredicate"
pattern="de.seronet_projekt.*"/>
</workingSet>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="GenerateXtextGrammars">
<setupTask
xsi:type="projects:ProjectsBuildTask"
id="rmp-one"/>
<setupTask
xsi:type="projects:ProjectsBuildTask"
id="rmp-two"/>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateRosInterfacesPool"
launcher="GenerateRosInterfacesPool">
<description>GenerateRosInterfacesPool</description>
</setupTask>
<setupTask
xsi:type="launching:LaunchTask"
id="GenerateRosPortExtension"
launcher="GenerateRosPortExtension">
<description>GenerateRosPortExtension</description>
</setupTask>
<setupTask
xsi:type="projects:ProjectsBuildTask"
id="rmp-three"/>
<description>GenerateXtextGrammars</description>
</setupTask>
<stream
name="master"
label="Master"/>
<description>Extends the SmartMDSD Toolchain with a ROS MixedPort Component (experimental feature)</description>
</project>
<stream name="master"
label="Master">
<setupTask
xsi:type="setup:EclipseIniTask"
option="-Doomph.redirection.SmartMDSD.github"
value="=https://raw.githubusercontent.com/Servicerobotics-Ulm/SmartMDSD-Toolchain/master/org.smartmdsd.infrastructure/org.smartmdsd.installer/SmartMDSDGithub.setup->${git.clone.SmartMDSD.github.location|uri}/org.smartmdsd.infrastructure/org.smartmdsd.installer/SmartMDSDGithub.setup"
vm="true">
<description>Set an Oomph redirection system property to redirect the logical location of this setup to its physical location in the Git clone.</description>
</setupTask>
</stream>
<logicalProjectContainer
xsi:type="setup:ProjectCatalog"
href="index:/org.eclipse.setup#//@projectCatalogs[name='com.github']"/>
<description>The SmartMDSD Toolchan for Robotics Software Development (Github plugin sources install).</description>
</setup:Project>