EGit v5.1.2.201810061102-r
[egit/eclipse.git] / tools / oomph / EGit.setup
blob8d1728fcdc97bf92e1d5d1d6ffadd7ff844b9fe4
1 <?xml version="1.0" encoding="UTF-8"?>
2 <setup:Project
3 xmi:version="2.0"
4 xmlns:xmi="http://www.omg.org/XMI"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xmlns:git="http://www.eclipse.org/oomph/setup/git/1.0"
7 xmlns:pde="http://www.eclipse.org/oomph/setup/pde/1.0"
8 xmlns:predicates="http://www.eclipse.org/oomph/predicates/1.0"
9 xmlns:projects="http://www.eclipse.org/oomph/setup/projects/1.0"
10 xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
11 xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0"
12 xmlns:setup.workingsets="http://www.eclipse.org/oomph/setup/workingsets/1.0"
13 xmlns:workingsets="http://www.eclipse.org/oomph/workingsets/1.0"
14 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/pde/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/PDE.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/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore http://www.eclipse.org/oomph/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/WorkingSets.ecore"
15 name="egit"
16 label="EGit"
17 setup:toolVersion="8">
18 <annotation
19 source="http://www.eclipse.org/oomph/setup/BrandingInfo">
20 <detail
21 key="imageURI">
22 <value>http://git.eclipse.org/c/egit/egit.git/plain/org.eclipse.egit/egit.png</value>
23 </detail>
24 <detail
25 key="siteURI">
26 <value>https://projects.eclipse.org/projects/technology.egit</value>
27 </detail>
28 </annotation>
29 <setupTask
30 xsi:type="setup:CompoundTask"
31 name="User Preferences">
32 <annotation
33 source="http://www.eclipse.org/oomph/setup/UserPreferences"/>
34 <setupTask
35 xsi:type="setup:CompoundTask"
36 name="org.eclipse.core.resources">
37 <setupTask
38 xsi:type="setup:PreferenceTask"
39 key="/instance/org.eclipse.core.resources/encoding"
40 value="UTF-8"/>
41 </setupTask>
42 <setupTask
43 xsi:type="setup:CompoundTask"
44 name="org.eclipse.pde.api.tools">
45 <setupTask
46 xsi:type="setup:PreferenceTask"
47 key="/instance/org.eclipse.pde.api.tools/missing_default_api_profile"
48 value="Warning"/>
49 </setupTask>
50 </setupTask>
51 <setupTask
52 xsi:type="setup.p2:P2Task">
53 <requirement
54 name="org.eclipse.pde.api.tools.ee.feature.feature.group"/>
55 <requirement
56 name="org.eclipse.swtbot.ide.feature.group"/>
57 <requirement
58 name="org.eclipse.swtbot.generator.feature.feature.group"/>
59 <requirement
60 name="AnyEditTools.feature.group"
61 optional="true"/>
62 <requirement
63 name="fr.obeo.releng.targetplatform-feature.feature.group"
64 optional="true"/>
65 <requirement
66 name="com.github.spotbugs.plugin.eclipse.feature.group"
67 optional="true"/>
68 <repository
69 url="http://download.eclipse.org/egit/updates-nightly"/>
70 <repository
71 url="http://download.eclipse.org/technology/swtbot/releases/latest"/>
72 <repository
73 url="https://dl.bintray.com/mbarbero/fr.obeo.releng.targetplatform/latest"/>
74 <repository
75 url="http://download.eclipse.org/modeling/tmf/xtext/updates/composite/latest/"/>
76 <repository
77 url="http://andrei.gmxhome.de/eclipse/"/>
78 <repository
79 url="https://spotbugs.github.io/eclipse/"/>
80 </setupTask>
81 <setupTask
82 xsi:type="setup:EclipseIniTask"
83 option="-Xmx"
84 value="1g"
85 vm="true"/>
86 <setupTask
87 xsi:type="setup:EclipseIniTask"
88 option="-Doomph.redirection.egit="
89 value="https://git.eclipse.org/c/egit/egit.git/plain/tools/oomph/EGit.setup->${git.clone.egit.location|uri}/tools/oomph/EGit.setup"
90 vm="true"/>
91 <setupTask
92 xsi:type="setup:ResourceCreationTask"
93 excludedTriggers="STARTUP MANUAL"
94 content="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;section name=&quot;Workbench&quot;>&#xD;&#xA;&#x9;&lt;section name=&quot;org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart&quot;>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;true&quot; key=&quot;group_libraries&quot;/>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;false&quot; key=&quot;linkWithEditor&quot;/>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;2&quot; key=&quot;layout&quot;/>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;2&quot; key=&quot;rootMode&quot;/>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;packageExplorer configured=&amp;quot;true&amp;quot; group_libraries=&amp;quot;1&amp;quot; layout=&amp;quot;2&amp;quot; linkWithEditor=&amp;quot;0&amp;quot; rootMode=&amp;quot;2&amp;quot; sortWorkingSets=&amp;quot;false&amp;quot; workingSetName=&amp;quot;&amp;quot;&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;localWorkingSetManager&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;workingSet editPageId=&amp;quot;org.eclipse.jdt.internal.ui.OthersWorkingSet&amp;quot; factoryID=&amp;quot;org.eclipse.ui.internal.WorkingSetFactory&amp;quot; id=&amp;quot;1382792884467_1&amp;quot; label=&amp;quot;Other Projects&amp;quot; name=&amp;quot;Other Projects&amp;quot;/&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;/localWorkingSetManager&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;activeWorkingSet workingSetName=&amp;quot;Other Projects&amp;quot;/&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;allWorkingSets workingSetName=&amp;quot;Other Projects&amp;quot;/&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;/packageExplorer&amp;gt;&quot; key=&quot;memento&quot;/>&#xD;&#xA;&#x9;&lt;/section>&#xD;&#xA;&lt;/section>&#xD;&#xA;"
95 targetURL="${workspace.location|uri}/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml"
96 encoding="UTF-8"/>
97 <setupTask
98 xsi:type="setup:VariableTask"
99 name="eclipse.target.platform"
100 defaultValue="egit-4.6"
101 storageURI="scope://Workspace">
102 <description>Default target platform for EGit development. Must be >= egit-4.6, otherwise the smartimport fragment will not compile.</description>
103 </setupTask>
104 <setupTask
105 xsi:type="pde:APIBaselineTask"
106 name="EGit"
107 activate="false"
108 version="4.10.0"
109 location="${workspace.location/../api.baseline/4.10.0}"
110 remoteURI="http://download.eclipse.org/egit/updates-4.10/org.eclipse.egit.repository-4.10.0.201712302008-r.zip">
111 <description>EGit 4.10.0 API baseline; to be used with branch stable-4.11</description>
112 </setupTask>
113 <setupTask
114 xsi:type="pde:APIBaselineTask"
115 name="EGit"
116 activate="false"
117 version="4.11.0"
118 location="${workspace.location/../api.baseline/4.11.0}"
119 remoteURI="http://download.eclipse.org/egit/updates-4.11/org.eclipse.egit.repository-4.11.0.201803080745-r.zip">
120 <description>EGit 4.11.0 API baseline; to be used with branch stable-5.0</description>
121 </setupTask>
122 <setupTask
123 xsi:type="pde:APIBaselineTask"
124 name="EGit"
125 version="5.0.0"
126 location="${workspace.location/../api.baseline/5.0.0}"
127 remoteURI="http://download.eclipse.org/egit/updates-5.0/org.eclipse.egit.repository-5.0.0.201806131550-r.zip">
128 <description>EGit 5.0.0 API baseline; to be used with branch master</description>
129 </setupTask>
130 <stream name="master"
131 label="Workspace setup for branch master">
132 <setupTask
133 xsi:type="setup:VariableTask"
134 name="eclipse.target.platform"
135 defaultValue="egit-4.6"
136 storageURI="scope://Workspace">
137 <description>Default target platform for EGit development. Must be >= egit-4.6, otherwise the smartimport fragment will not compile.</description>
138 </setupTask>
139 <setupTask
140 xsi:type="git:GitCloneTask"
141 id="git.clone.jgit"
142 remoteURI="jgit/jgit"
143 checkoutBranch="master">
144 <annotation
145 source="http://www.eclipse.org/oomph/setup/InducedChoices">
146 <detail
147 key="inherit">
148 <value>eclipse.git.gerrit.remoteURIs</value>
149 </detail>
150 <detail
151 key="label">
152 <value>JGit Gerrit Repository</value>
153 </detail>
154 <detail
155 key="target">
156 <value>remoteURI</value>
157 </detail>
158 </annotation>
159 <configSections
160 name="gerrit">
161 <properties
162 key="createchangeid"
163 value="true"/>
164 </configSections>
165 <description>JGit</description>
166 </setupTask>
167 <setupTask
168 xsi:type="git:GitCloneTask"
169 id="git.clone.egit"
170 remoteURI="egit/egit"
171 checkoutBranch="master">
172 <annotation
173 source="http://www.eclipse.org/oomph/setup/InducedChoices">
174 <detail
175 key="inherit">
176 <value>eclipse.git.gerrit.remoteURIs</value>
177 </detail>
178 <detail
179 key="label">
180 <value>EGit Gerrit Repository</value>
181 </detail>
182 <detail
183 key="target">
184 <value>remoteURI</value>
185 </detail>
186 </annotation>
187 <configSections
188 name="gerrit">
189 <properties
190 key="createchangeid"
191 value="true"/>
192 </configSections>
193 <description>EGit</description>
194 </setupTask>
195 <setupTask
196 xsi:type="git:GitCloneTask"
197 id="git.clone.egit-github"
198 remoteURI="egit/egit-github"
199 checkoutBranch="master">
200 <annotation
201 source="http://www.eclipse.org/oomph/setup/InducedChoices">
202 <detail
203 key="inherit">
204 <value>eclipse.git.gerrit.remoteURIs</value>
205 </detail>
206 <detail
207 key="label">
208 <value>EGit Github Connector Gerrit Repository</value>
209 </detail>
210 <detail
211 key="target">
212 <value>remoteURI</value>
213 </detail>
214 </annotation>
215 <configSections
216 name="gerrit">
217 <properties
218 key="createchangeid"
219 value="true"/>
220 </configSections>
221 <description>EGit Github Connector</description>
222 </setupTask>
223 <setupTask
224 xsi:type="projects:ProjectsImportTask">
225 <sourceLocator
226 rootFolder="${git.clone.jgit.location}"
227 locateNestedProjects="true"/>
228 <sourceLocator
229 rootFolder="${git.clone.egit.location}"
230 locateNestedProjects="true"/>
231 <sourceLocator
232 rootFolder="${git.clone.egit-github.location}"
233 locateNestedProjects="true"/>
234 <description>Import the EGit/JGit projects from the git clones into the workspace</description>
235 </setupTask>
236 <setupTask
237 xsi:type="pde:TargetPlatformTask"
238 id="egit-4.6"
239 name="egit-4.6">
240 <description>EGit Neon target</description>
241 </setupTask>
242 <setupTask
243 xsi:type="setup.workingsets:WorkingSetTask">
244 <workingSet
245 name="EGit Github Connector">
246 <predicate
247 xsi:type="predicates:AndPredicate">
248 <operand
249 xsi:type="predicates:RepositoryPredicate"
250 project="org.eclipse.mylyn.github.core"/>
251 <operand
252 xsi:type="workingsets:ExclusionPredicate"
253 excludedWorkingSet="//@streams[name='master']/@setupTasks.6/@workingSets.6 //@streams[name='master']/@setupTasks.6/@workingSets.1"/>
254 </predicate>
255 </workingSet>
256 <workingSet
257 name="EGit Github Connector Tests">
258 <predicate
259 xsi:type="predicates:AndPredicate">
260 <operand
261 xsi:type="predicates:RepositoryPredicate"
262 project="org.eclipse.mylyn.github.core"/>
263 <operand
264 xsi:type="predicates:FilePredicate"
265 filePattern="META-INF/MANIFEST.MF"
266 contentPattern="org\.junit"/>
267 </predicate>
268 </workingSet>
269 <workingSet
270 name="EGit">
271 <predicate
272 xsi:type="predicates:AndPredicate">
273 <operand
274 xsi:type="predicates:RepositoryPredicate"
275 project="org.eclipse.egit.core"/>
276 <operand
277 xsi:type="workingsets:ExclusionPredicate"
278 excludedWorkingSet="//@streams[name='master']/@setupTasks.6/@workingSets.6 //@streams[name='master']/@setupTasks.6/@workingSets.3"/>
279 </predicate>
280 </workingSet>
281 <workingSet
282 name="EGit Tests">
283 <predicate
284 xsi:type="predicates:AndPredicate">
285 <operand
286 xsi:type="predicates:RepositoryPredicate"
287 project="org.eclipse.egit.core"/>
288 <operand
289 xsi:type="predicates:FilePredicate"
290 filePattern="META-INF/MANIFEST.MF"
291 contentPattern="org\.junit"/>
292 </predicate>
293 </workingSet>
294 <workingSet
295 name="JGit">
296 <predicate
297 xsi:type="predicates:AndPredicate">
298 <operand
299 xsi:type="predicates:RepositoryPredicate"
300 project="org.eclipse.jgit"/>
301 <operand
302 xsi:type="workingsets:ExclusionPredicate"
303 excludedWorkingSet="//@streams[name='master']/@setupTasks.6/@workingSets.6 //@streams[name='master']/@setupTasks.6/@workingSets.5"/>
304 </predicate>
305 </workingSet>
306 <workingSet
307 name="JGit Tests">
308 <predicate
309 xsi:type="predicates:AndPredicate">
310 <operand
311 xsi:type="predicates:RepositoryPredicate"
312 project="org.eclipse.jgit"/>
313 <operand
314 xsi:type="predicates:FilePredicate"
315 filePattern="META-INF/MANIFEST.MF"
316 contentPattern="org\.junit"/>
317 </predicate>
318 </workingSet>
319 <workingSet
320 name="Releng">
321 <predicate
322 xsi:type="predicates:OrPredicate">
323 <operand
324 xsi:type="predicates:NaturePredicate"
325 nature="org.eclipse.pde.FeatureNature"/>
326 <operand
327 xsi:type="predicates:NaturePredicate"
328 nature="org.eclipse.pde.UpdateSiteNature"/>
329 <operand
330 xsi:type="predicates:NamePredicate"
331 pattern="org\.eclipse\.jgit\.target"/>
332 <operand
333 xsi:type="predicates:NamePredicate"
334 pattern="org\.eclipse\.egit\.target"/>
335 <operand
336 xsi:type="predicates:NamePredicate"
337 pattern="org\.eclipse\.jgit\.packaging"/>
338 </predicate>
339 </workingSet>
340 <description>Initialize working sets</description>
341 </setupTask>
342 <description>Clone all EGit/JGit repositories, import projects, set target platform, initialize working sets</description>
343 </stream>
344 <logicalProjectContainer
345 xsi:type="setup:ProjectCatalog"
346 href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']"/>
347 <description>Provides support for integrating Git with the Eclipse IDE</description>
348 <setupTask
349 xsi:type="setup:P2Task">
350 <installableUnits
351 id="org.eclipse.pde.api.tools.ee.feature.feature.group"/>
352 <p2Repositories
353 url="${train.url}"/>
354 </setupTask>
355 </setup:Project>