-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathSnowOwlServer.setup
253 lines (253 loc) · 9.9 KB
/
SnowOwlServer.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
<?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:pde="http://www.eclipse.org/oomph/setup/pde/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"
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/pde/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/PDE.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"
name="b2ihealthcare.snowowl"
label="Snow Owl Server">
<setupTask
xsi:type="setup:CompoundTask"
name="Start configuration">
<setupTask
xsi:type="setup:EclipseIniTask"
option="-Xmx"
value="2048m"
vm="true">
<description>Set the heap space needed to work with the projects of ${scope.project.label}</description>
</setupTask>
<setupTask
xsi:type="setup:EclipseIniTask"
option="-Doomph.redirection.b2ihealthcare.snowowl"
value="=https://raw.githubusercontent.com/b2ihealthcare/snow-owl.git/8.x/SnowOwlServer.setup->${git.clone.b2ihealthcare.snowowl.location|uri}/SnowOwlServer.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>
<setupTask
xsi:type="setup:ResourceCreationTask"
excludedTriggers="STARTUP MANUAL"
targetURL="configuration:/.settings/org.eclipse.ui.ide.prefs"
encoding="UTF-8">
<description>Don't show workspace selection dialog on first startup</description>
<content>MAX_RECENT_WORKSPACES=5&#xD;&#xA;RECENT_WORKSPACES=${workspace.location|property}&#xD;&#xA;RECENT_WORKSPACES_PROTOCOL=3&#xD;&#xA;SHOW_WORKSPACE_SELECTION_DIALOG=false&#xD;&#xA;eclipse.preferences.version=1</content>
</setupTask>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="Compiler settings">
<setupTask
xsi:type="jdt:JRETask"
version="JavaSE-17"
location="${jre.location-17}"
name="JRE for JavaSE-17">
<description>Define the JRE needed to compile and run the Java projects of ${scope.project.label}</description>
</setupTask>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="IDE Plug-Ins">
<setupTask
xsi:type="setup.p2:P2Task"
label="MWE">
<requirement
name="org.eclipse.emf.mwe.sdk.feature.group"/>
<requirement
name="org.eclipse.emf.mwe2.language.sdk.feature.group"/>
<repository
url="https://download.eclipse.org/modeling/emft/mwe/updates/releases/2.12.1/"/>
<description></description>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
label="Xtend and Xtext">
<requirement
name="org.eclipse.xtend.sdk.feature.group"/>
<requirement
name="org.eclipse.xtext.sdk.feature.group"/>
<repository
url="https://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.25.0/"/>
<description></description>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
label="M2e">
<requirement
name="org.eclipse.m2e.feature.feature.group"/>
<requirement
name="org.eclipse.m2e.pde.feature.feature.group"/>
<requirement
name="org.eclipse.m2e.lemminx.feature.feature.group"/>
<repository
url="https://download.eclipse.org/technology/m2e/releases/1.19.0/"/>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
label="M2e build helper">
<requirement
name="org.sonatype.m2e.buildhelper.feature.feature.group"/>
<repository
url="https://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-buildhelper/0.15.0/N/0.15.0.201207090124/"/>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
label="M2e Tycho configurator">
<requirement
name="org.sonatype.tycho.m2e.feature.feature.group"/>
<repository
url="https://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-tycho/0.8.1/N/0.8.1.201704211436/"/>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
label="Groovy">
<requirement
name="org.codehaus.groovy.eclipse.feature.feature.group"/>
<requirement
name="org.codehaus.groovy.m2eclipse.feature.feature.group"/>
<requirement
name="org.codehaus.groovy30.feature.feature.group"/>
<repository
url="https://dist.springsource.org/release/GRECLIPSE/4.4.0/e4.22"/>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
label="Oomph extras">
<requirement
name="org.eclipse.oomph.setup.maven.feature.group"/>
<repository
url="${oomph.update.url}"/>
</setupTask>
<description>Install the tools needed in the IDE to work with the source code for ${scope.project.label}</description>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="IDE Preferences">
<annotation
source="http://www.eclipse.org/oomph/setup/UserPreferences"/>
<setupTask
xsi:type="setup:CompoundTask"
name="org.eclipse.core.resources">
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.core.resources/encoding"
value="UTF-8"/>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="org.eclipse.core.runtime">
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.core.runtime/line.separator"
value="
"/>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="org.eclipse.egit.core">
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.egit.core/core_defaultRepositoryDir"
value="${installation.location}/git"/>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="org.eclipse.jdt.ui">
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.ondemandthreshold"
value="5"/>
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.staticondemandthreshold"
value="5"/>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="org.eclipse.m2e.core">
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.m2e.core/eclipse.m2.problem.notCoveredMojoExecution"
value="warning"/>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="org.eclipse.pde.api.tools">
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.pde.api.tools/missing_default_api_profile"
value="Ignore"/>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="org.eclipse.ui.ide">
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.ui.ide/SHOW_WORKSPACE_SELECTION_DIALOG"
value="false"/>
</setupTask>
<description>Sets properties in Eclipse Preferences according to the instructions outlined in the README document</description>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="Check out project from GitHub">
<setupTask
xsi:type="git:GitCloneTask"
id="git.clone.b2ihealthcare.snowowl"
remoteURI="b2ihealthcare/snow-owl">
<annotation
source="http://www.eclipse.org/oomph/setup/InducedChoices">
<detail
key="inherit">
<value>github.remoteURIs</value>
</detail>
<detail
key="label">
<value>${scope.project.label} Github repository</value>
</detail>
<detail
key="target">
<value>remoteURI</value>
</detail>
</annotation>
<description>${scope.project.label}</description>
</setupTask>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="Import projects">
<setupTask
xsi:type="projects:ProjectsImportTask">
<sourceLocator
rootFolder="${git.clone.b2ihealthcare.snowowl.location}"
locateNestedProjects="true"/>
</setupTask>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="Target platform">
<setupTask
xsi:type="pde:TargetPlatformTask"
name="Snow Owl Target Platform Definition"/>
</setupTask>
<stream name="8.x"
label="8.x">
<setupTask
xsi:type="setup:CompoundTask"
name="IDE Preferences">
<annotation
source="http://www.eclipse.org/oomph/setup/UserPreferences"/>
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.ui.ide/WORKSPACE_NAME"
value="Snow Owl 8.x"/>
</setupTask>
</stream>
<logicalProjectContainer
xsi:type="setup:ProjectCatalog"
href="index:/org.eclipse.setup#//@projectCatalogs[name='com.github']"/>
<description>Snow Owl is a highly scalable, open source terminology server with revision-control capabilities and collaborative authoring platform features. It allows you to store, search and author high volumes of terminology artifacts quickly and efficiently.</description>
</setup:Project>