-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecoretime.setup
112 lines (112 loc) · 4.59 KB
/
ecoretime.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
<?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:mylyn="http://www.eclipse.org/oomph/setup/mylyn/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/mylyn/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Mylyn.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="ecoretime"
label="ecoretime">
<setupTask
xsi:type="jdt:JRETask"
version="JavaSE-1.8"
location="${jre.location-1.8}"/>
<setupTask
xsi:type="setup.p2:P2Task">
<requirement
name="org.eclipse.emf.sdk.feature.group"/>
</setupTask>
<setupTask
xsi:type="setup:VariableTask"
name="remoteURI"
value="sthdev/${scope.project.label}"/>
<setupTask
xsi:type="git:GitCloneTask"
id="git.clone"
remoteURI="${remoteURI}">
<annotation
source="http://www.eclipse.org/oomph/setup/InducedChoices">
<detail
key="inherit">
<value>github.remoteURIs</value>
</detail>
<detail
key="label">
<value>Git Repository</value>
</detail>
<detail
key="target">
<value>remoteURI</value>
</detail>
</annotation>
<description>${scope.project.name}</description>
</setupTask>
<setupTask
xsi:type="projects:ProjectsImportTask">
<sourceLocator
rootFolder="${git.clone.location}"
locateNestedProjects="true"/>
</setupTask>
<setupTask
xsi:type="mylyn:MylynQueriesTask"
connectorKind="github"
repositoryURL="https://github.com/${remoteURI}"
userID="${github.user.id}"
password="${github.user.password}">
<query summary="${scope.project.label} issues">
<attribute
key="state"
value="open"/>
</query>
</setupTask>
<setupTask
xsi:type="mylyn:MylynQueriesTask"
connectorKind="githubPullRequests"
repositoryURL="https://github.com/${remoteURI}/pulls"
userID="${github.user.id}"
password="${github.user.password}">
<query summary="${scope.project.label} pull requests">
<attribute
key="state"
value="open"/>
</query>
</setupTask>
<setupTask
xsi:type="setup.workingsets:WorkingSetTask">
<workingSet
name="ecoretime">
<predicate
xsi:type="predicates:NamePredicate"
pattern="io.github.sthdev.ecoretime.*"/>
</workingSet>
</setupTask>
<setupTask
xsi:type="setup.targlets:TargletTask">
<targlet
name="ecoretime"
activeRepositoryList="${eclipse.target.platform}">
<requirement
name="*"/>
<requirement
name="org.eclipse.emf.sdk.feature.group"/>
<requirement
name="org.eclipse.pde.feature.group"/>
<sourceLocator
rootFolder="${git.clone.location}"/>
</targlet>
</setupTask>
<stream name="master"
label="Master"/>
<logicalProjectContainer
xsi:type="setup:ProjectCatalog"
href="https://raw.githubusercontent.com/sthdev/setup/master/projects/eclipse.plugins/eclipse.plugins.projects.setup#/"/>
<description>Sets up a workspace for ecoretime.</description>
</setup:Project>