-
Notifications
You must be signed in to change notification settings - Fork 30
/
SnowOwlServer.setup
227 lines (227 loc) · 8.99 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
<?xml version="1.0" encoding="UTF-8"?>
<setup:Project
xmi:version="2.0"
xmlns:xmi="https://www.omg.org/XMI"
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xmlns:git="https://www.eclipse.org/oomph/setup/git/1.0"
xmlns:jdt="https://www.eclipse.org/oomph/setup/jdt/1.0"
xmlns:pde="https://www.eclipse.org/oomph/setup/pde/1.0"
xmlns:projects="https://www.eclipse.org/oomph/setup/projects/1.0"
xmlns:setup="https://www.eclipse.org/oomph/setup/1.0"
xmlns:setup.p2="https://www.eclipse.org/oomph/setup/p2/1.0"
xsi:schemaLocation="https://www.eclipse.org/oomph/setup/git/1.0 https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Git.ecore https://www.eclipse.org/oomph/setup/jdt/1.0 https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore https://www.eclipse.org/oomph/setup/pde/1.0 https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/PDE.ecore https://www.eclipse.org/oomph/setup/projects/1.0 https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Projects.ecore"
name="com.b2international.snowowl"
label="Snow Owl Terminology Server">
<setupTask
xsi:type="jdt:JRETask"
version="JavaSE-11"
location="${jre.location-11}"/>
<setupTask
xsi:type="setup:EclipseIniTask"
option="-Xmx"
value="1500m"
vm="true"/>
<setupTask
xsi:type="setup:EclipseIniTask"
option="-Doomph.redirection.snow.owl"
value="=https://raw.githubusercontent.com/b2ihealthcare/snow-owl/7.x/SnowOwlServer.setup->${git.clone.b2ihealthcare.snowowl.location|uri}/SnowOwlServer.setup"
vm="true"/>
<setupTask
xsi:type="setup.p2:P2Task"
label="Xtext and Xtend">
<requirement
name="org.eclipse.emf.mwe2.language.sdk.feature.group"
versionRange="[2.11.3,2.12.0)"/>
<requirement
name="org.eclipse.xtend.sdk.feature.group"
versionRange="[2.23.0,2.24.0)"/>
<requirement
name="org.eclipse.xtext.sdk.feature.group"
versionRange="[2.23.0,2.24.0)"/>
<repository
url="https://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/"/>
<description></description>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
label="Groovy">
<requirement
name="org.codehaus.groovy.eclipse.feature.feature.group"
versionRange="[3.9.0,4.0.0)"/>
<requirement
name="org.codehaus.groovy.m2eclipse.feature.feature.group"
versionRange="[3.9.0,4.0.0)"/>
<requirement
name="org.codehaus.groovy24.feature.feature.group"
versionRange="[3.9.0,4.0.0)"/>
<repository
url="https://dist.springsource.org/release/GRECLIPSE/3.9.0/e4.17"/>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
label="Maven build helpers">
<requirement
name="org.sonatype.m2e.buildhelper.feature.feature.group"/>
<requirement
name="org.sonatype.tycho.m2e.feature.feature.group"/>
<repository
url="https://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-buildhelper/0.15.0/N/0.15.0.201207090124/"/>
<repository
url="https://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-tycho/0.8.1/N/0.8.1.201704211436/"/>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="User Preferences">
<annotation
source="https://www.eclipse.org/oomph/setup/UserPreferences"/>
<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.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.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.codehaus.groovy.eclipse.compilerResolver">
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.codehaus.groovy.eclipse.compilerResolver/groovy.compiler.level"
value="24"/>
</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="10"/>
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.staticondemandthreshold"
value="10"/>
</setupTask>
</setupTask>
<setupTask
xsi:type="git:GitCloneTask"
id="git.clone.b2ihealthcare.snowowl"
remoteURI="b2ihealthcare/snow-owl">
<annotation
source="https://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>
<configSections
name="core">
<properties
key="autocrlf"
value="input"/>
</configSections>
<description>${scope.project.label}</description>
</setupTask>
<setupTask
xsi:type="projects:ProjectsImportTask"
id="import.targets">
<sourceLocator
rootFolder="${git.clone.b2ihealthcare.snowowl.location}"/>
<sourceLocator
rootFolder="${git.clone.b2ihealthcare.snowowl.location}/releng"/>
<sourceLocator
rootFolder="${git.clone.b2ihealthcare.snowowl.location}/releng/target-platform"/>
<description>Target platform projects only</description>
</setupTask>
<setupTask
xsi:type="projects:ProjectsBuildTask"
id="build.targets"
refresh="true"
clean="true"/>
<setupTask
xsi:type="setup:TextModifyTask"
id="modify.tp.change"
excludedTriggers="BOOTSTRAP"
successor="modify.tp.restore"
url="${git.clone.b2ihealthcare.snowowl.location|uri}/releng/target-platform/target-platform-local.target">
<modification
pattern="(Snow Owl Target Platform Definition)">
<substitution>Snow Owl Target Platform Definition (local)</substitution>
</modification>
<description>Temporarily rename target platform so it can be selected by unique name</description>
</setupTask>
<setupTask
xsi:type="pde:TargetPlatformTask"
name="Snow Owl Target Platform Definition (local)">
<description></description>
</setupTask>
<setupTask
xsi:type="setup:TextModifyTask"
id="modify.tp.restore"
excludedTriggers="BOOTSTRAP"
url="${git.clone.b2ihealthcare.snowowl.location|uri}/releng/target-platform/target-platform-local.target">
<modification
pattern="(Snow Owl Target Platform Definition \(local\))">
<substitution>Snow Owl Target Platform Definition</substitution>
</modification>
<description>Restore target platform name to original, to avoid confusion (it will be overwritten anyways)</description>
</setupTask>
<setupTask
xsi:type="projects:ProjectsImportTask"
id="import.projects">
<sourceLocator
rootFolder="${git.clone.b2ihealthcare.snowowl.location}"
locateNestedProjects="true"/>
<description>Remaining projects</description>
</setupTask>
<setupTask
xsi:type="projects:ProjectsBuildTask"
id="build.projects"
refresh="true"
clean="true"/>
<stream name="7.x"/>
<logicalProjectContainer
xsi:type="setup:ProjectCatalog"
href="index:/org.eclipse.setup#//@projectCatalogs[name='com.github']"/>
<description>Snow Owl® is a terminology server and a collaborative terminology authoring platform. The authoring platform maintains terminology artifacts developed by a team and supported by business workflows that are driven by external task management systems like Bugzilla and JIRA. With its modular design, the server can maintain multiple terminologies where new terminologies can be plugged-in to the platform. The functionality of Snow Owl is exposed via a REST API.</description>
</setup:Project>