forked from willuhn/hibiscus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Hibiscus.setup
180 lines (180 loc) · 7.26 KB
/
Hibiscus.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
<?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:projects="http://www.eclipse.org/oomph/setup/projects/1.0"
xmlns:setup="http://www.eclipse.org/oomph/setup/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/projects/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Projects.ecore"
name="Hibiscus"
label="Hibiscus">
<setupTask
xsi:type="git:GitCloneTask"
id="git.clone.jameica"
remoteURI="willuhn/jameica">
<annotation
source="http://www.eclipse.org/oomph/setup/InducedChoices">
<detail
key="inherit">
<value>github.remoteURIs</value>
</detail>
<detail
key="label">
<value>Jameica GitHub repository protocol</value>
</detail>
<detail
key="target">
<value>remoteURI</value>
</detail>
</annotation>
<description>Jameica Git</description>
</setupTask>
<setupTask
xsi:type="git:GitCloneTask"
id="git.clone.hibiscus"
remoteURI="willuhn/hibiscus"
pushURI="">
<annotation
source="http://www.eclipse.org/oomph/setup/InducedChoices">
<detail
key="inherit">
<value>github.remoteURIs</value>
</detail>
<detail
key="label">
<value>Hibiscus GitHub repository protocol</value>
</detail>
<detail
key="target">
<value>remoteURI</value>
</detail>
</annotation>
<description>${scope.project.label}</description>
</setupTask>
<setupTask
xsi:type="projects:ProjectsImportTask">
<sourceLocator
rootFolder="${git.clone.jameica.location}"
locateNestedProjects="true"/>
<sourceLocator
rootFolder="${git.clone.hibiscus.location}"
locateNestedProjects="true"/>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
predecessor="//@setupTasks.2"
filter=""
name="SWT Classpath">
<setupTask
xsi:type="setup:TextModifyTask"
id="SWT.Win32"
excludedTriggers="BOOTSTRAP"
filter="(&(osgi.os=win32)(osgi.arch=x86))"
url="${git.clone.jameica.location|uri}/.classpath"
encoding="ISO-8859-15">
<modification
pattern="lib/swt/(linux64)">
<substitution>win32</substitution>
</modification>
<modification
pattern="lib.src/swt/(linux)">
<substitution>win32</substitution>
</modification>
<description></description>
</setupTask>
<setupTask
xsi:type="setup:TextModifyTask"
id="SWT.Win64"
excludedTriggers="BOOTSTRAP"
filter="(&(osgi.os=win32)(osgi.arch=x86_64))"
url="${git.clone.jameica.location|uri}/.classpath"
encoding="ISO-8859-15">
<modification
pattern="lib/swt/(linux64)">
<substitution>win64</substitution>
</modification>
<modification
pattern="lib.src/swt/(linux)">
<substitution>win64</substitution>
</modification>
<description></description>
</setupTask>
<setupTask
xsi:type="setup:TextModifyTask"
id="SWT.Mac32"
excludedTriggers="BOOTSTRAP"
filter="(&(osgi.os=macosx)(osgi.arch=x86))"
url="${git.clone.jameica.location|uri}/.classpath"
encoding="ISO-8859-15">
<modification
pattern="lib/swt/(linux64)">
<substitution>macos</substitution>
</modification>
<description></description>
</setupTask>
<setupTask
xsi:type="setup:TextModifyTask"
id="SWT.Mac64"
excludedTriggers="BOOTSTRAP"
filter="(&(osgi.os=macosx)(osgi.arch=x86_64))"
url="${git.clone.jameica.location|uri}/.classpath"
encoding="ISO-8859-15">
<modification
pattern="lib/swt/(linux64)">
<substitution>macos64</substitution>
</modification>
<description>modifies the class path in case of installation on mac 32 system</description>
</setupTask>
<setupTask
xsi:type="setup:TextModifyTask"
id="SWT.Linux32"
excludedTriggers="BOOTSTRAP"
filter="(&(osgi.os=linux)(osgi.arch=x86))"
url="${git.clone.jameica.location|uri}/.classpath"
encoding="ISO-8859-15">
<modification
pattern="lib/swt/(linux64)">
<substitution>linux</substitution>
</modification>
<description></description>
</setupTask>
<description>modifies the swt class path according to the operating system (see filters)</description>
</setupTask>
<setupTask
xsi:type="setup:ResourceCreationTask"
id="jameicaLaunchConfig"
excludedTriggers="BOOTSTRAP"
predecessor="//@setupTasks.2"
filter=""
content="<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/jameica/src/de/willuhn/jameica/Main.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="de.willuhn.jameica.Main"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-f &quot;${workspace.location|path}/jameica.test&quot; -p test"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="jameica"/>
</launchConfiguration>
"
targetURL="${git.clone.hibiscus.location|uri}/Hibiscus.launch"
encoding="UTF-8">
<description>creates launch configuration with standard location (workspace/jameica.test) and standard password</description>
</setupTask>
<setupTask
xsi:type="setup:ResourceCreationTask"
id="addHibiscus"
filter=""
content="jameica.plugin.dir.0=${git.clone.hibiscus.location|property}"
targetURL="${workspace.location|uri}/jameica.test/cfg/de.willuhn.jameica.system.Config.properties"
encoding="UTF-8">
<description>adds hibiscus plugin to jameica test project</description>
</setupTask>
<setupTask
xsi:type="projects:ProjectsBuildTask"
onlyNewProjects="true"
refresh="true"/>
<setupTask
xsi:type="setup:EclipseIniTask"
option="-Doomph.redirection.hibiscusSetup"
value="=https://raw.githubusercontent.com/willuhn/hibiscus/master/Hibiscus.setup->${git.clone.hibiscus.location|uri}/Hibiscus.setup"
vm="true">
<description>redirect setup to local copy, so that local modifications have immediate effect</description>
</setupTask>
<stream name="master"
label="master">
<description>master</description>
</stream>
<description></description>
</setup:Project>