-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontract-annex.setup
123 lines (123 loc) · 4.69 KB
/
contract-annex.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
<?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:predicates="http://www.eclipse.org/oomph/predicates/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/predicates/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.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="contract-annex"
label="Contract Annex">
<setupTask
xsi:type="setup:VariableTask"
name="eclipse.target.platform"
defaultValue="2023-03"
storageURI="scope://Workspace"/>
<setupTask
xsi:type="setup.p2:P2Task">
<description>Install the tools needed in the IDE to work with the source code for ${scope.project.label}</description>
</setupTask>
<setupTask
xsi:type="setup:VariableTask"
name="sei.user.id"
defaultValue="anonymous"
label="SEI user ID">
<description>The user ID of the SEI Bitbucket account</description>
</setupTask>
<setupTask
xsi:type="setup:VariableTask"
disabled="true"
name="code.sei.remoteURIs"
label="Bitbucket repository">
<choice
value="ssh://[email protected]:7999/@{remoteURI}.git"
label="Git (read-write)"/>
<choice
value="https://${sei.user.id|username}@code.sei.cmu.edu/bitbucket/scm/@{remoteURI}.git"
label="HTTPS (read-write)">
<annotation
source="http://www.eclipse.org/oomph/setup/MatchChoice"/>
</choice>
<choice
value="https://code.sei.cmu.edu/bitbucket/scm/@{remoteURI}.git"
label="HTTPS (read-only, anonymous)"/>
<description>Choose from the available SEI Bitbucket URIs</description>
</setupTask>
<setupTask
xsi:type="git:GitCloneTask"
id="git.clone.contract-annex"
filter=""
remoteURI="osate/contract-annex"
pushURI="">
<annotation
source="http://www.eclipse.org/oomph/setup/InducedChoices">
<detail
key="inherit">
<value>github.remoteURIs</value>
</detail>
<detail
key="label">
<value>Contract annex Github repository</value>
</detail>
<detail
key="target">
<value>remoteURI</value>
</detail>
</annotation>
<description>Clone Contract Annex Repository</description>
</setupTask>
<setupTask
xsi:type="setup.targlets:TargletTask">
<targlet
name="${scope.project.label}"
activeRepositoryList="${eclipse.target.platform}">
<requirement
name="*"/>
<sourceLocator
rootFolder="${git.clone.contract-annex.location}"/>
<repositoryList
name="2023-03">
<repository
url="http://download.eclipse.org/releases/2023-03"/>
</repositoryList>
<repositoryList
name="2022-06">
<repository
url="http://download.eclipse.org/releases/2022-06"/>
</repositoryList>
</targlet>
</setupTask>
<setupTask
xsi:type="setup.workingsets:WorkingSetTask"
filter=""
prefix="">
<workingSet
name="${scope.project.name}">
<predicate
xsi:type="predicates:AndPredicate">
<operand
xsi:type="predicates:RepositoryPredicate"
project="org.osate.contract"/>
</predicate>
</workingSet>
<description>The dynamic working sets for ${scope.project.label}</description>
</setupTask>
<stream name="main"
label="Main">
<setupTask
xsi:type="setup:EclipseIniTask"
option="-Doomph.redirection.contract-annex"
value="=https://raw.githubusercontent.com/osate/contract-annex/main/contract-annex.setup->${git.clone.contract-annex.location|uri}/contract-annex.setup"
vm="true">
<description></description>
</setupTask>
</stream>
<logicalProjectContainer
xsi:type="setup:ProjectCatalog"
href="index:/org.eclipse.setup#//@projectCatalogs[name='com.github']"/>
<description>Contract Annex</description>
</setup:Project>