Skip to content

Commit b4b0cbc

Browse files
committed
[Oomph-Setup] Add eclipse.swt configuration setup
Additionally add a styled and drag&drop-able Oomph Configuration button. Part of eclipse-platform/eclipse.platform.releng.aggregator#2430
1 parent 0324a13 commit b4b0cbc

File tree

3 files changed

+99
-1
lines changed

3 files changed

+99
-1
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,14 @@ Contributing to SWT
8181

8282
Thanks for your interest in this project.
8383

84-
See https://github.com/eclipse-platform/.github/blob/main/CONTRIBUTING.md for contributing to Eclipse Platform in general.
84+
For information about contributing to Eclipse Platform in general, see the general [CONTRIBUTING](https://github.com/eclipse-platform/.github/blob/main/CONTRIBUTING.md) page.
85+
86+
87+
[![Create Eclipse Development Environment for Eclipse SWT](https://download.eclipse.org/oomph/www/setups/svg/Eclipse_SWT.svg)](
88+
https://www.eclipse.org/setups/installer/?url=https://raw.githubusercontent.com/eclipse-platform/eclipse.platform.swt/master/bundles/org.eclipse.swt.tools/Oomph/PlatformSWTConfiguration.setup&show=true
89+
"Click to open Eclipse-Installer Auto Launch or drag into your running installer")
90+
91+
8592

8693
Developer resources:
8794
--------------------
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<setup:Configuration
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:setup="http://www.eclipse.org/oomph/setup/1.0"
7+
label="Eclipse SWT">
8+
<annotation
9+
source="http://www.eclipse.org/oomph/setup/BrandingInfo">
10+
<detail
11+
key="imageURI">
12+
<value>https://www.eclipse.org/downloads/images/committers.png</value>
13+
</detail>
14+
<detail
15+
key="badgeLabel">
16+
<value>SWT</value>
17+
</detail>
18+
</annotation>
19+
<installation
20+
name="eclipse.swt.installation"
21+
label="Eclipse SWT Installation">
22+
<setupTask
23+
xsi:type="setup:VariableTask"
24+
name="installation.id.default"
25+
value="eclipse-swt"/>
26+
<productVersion
27+
href="index:/org.eclipse.setup#//@productCatalogs[name='org.eclipse.applications']/@products[name='eclipse.platform.sdk']/@versions[name='latest']"/>
28+
<description>The Eclipse SWT installation provides the latest tools needed to work with the project's source code.</description>
29+
</installation>
30+
<workspace
31+
name="eclipse.swt.workspace"
32+
label="Eclipse SWT Workspace">
33+
<setupTask
34+
xsi:type="setup:VariableTask"
35+
name="workspace.id.default"
36+
value="eclipse-swt-ws"/>
37+
<setupTask
38+
xsi:type="setup:CompoundTask"
39+
name="User Preferences">
40+
<annotation
41+
source="http://www.eclipse.org/oomph/setup/UserPreferences">
42+
<detail
43+
key="/instance/org.eclipse.oomph.setup.ui/showToolBarContributions">
44+
<value>record</value>
45+
</detail>
46+
</annotation>
47+
<setupTask
48+
xsi:type="setup:CompoundTask"
49+
name="org.eclipse.oomph.setup.ui">
50+
<setupTask
51+
xsi:type="setup:PreferenceTask"
52+
key="/instance/org.eclipse.oomph.setup.ui/showToolBarContributions"
53+
value="true"/>
54+
</setupTask>
55+
<setupTask
56+
xsi:type="setup:CompoundTask"
57+
name="org.eclipse.ui.ide">
58+
<setupTask
59+
xsi:type="setup:PreferenceTask"
60+
key="/instance/org.eclipse.ui.ide/WORKSPACE_NAME"
61+
value="Eclipse SWT"/>
62+
</setupTask>
63+
</setupTask>
64+
<setupTask
65+
xsi:type="setup:VariableTask"
66+
name="eclipse.git.authentication.style"
67+
defaultValue="anonymous"/>
68+
<stream
69+
href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/@projects[name='platform']/@projects[name='swt']/@streams[name='master']"/>
70+
<description>The Eclipse SWT workspace provides all the source code of the project.</description>
71+
</workspace>
72+
<description>
73+
&lt;p>
74+
The &lt;code>Eclipse SWT&lt;/code> configuration provisions a dedicated development environment for the complete set of projects that comprise SWT,
75+
i.e. the projects that are contained in the &lt;a href=&quot;https://github.com/eclipse-platform/eclipse.platform.swt&quot;>eclipse.platform.swt&lt;/a> repository.
76+
&lt;/p>
77+
&lt;p>
78+
The installation is based on the latest successful integration build of the &lt;code>Eclipse Platform SDK&lt;/code>,
79+
the PDE target platform, like the installation, is also based on the latest integration build,
80+
and the API baseline is based on the most recent release.
81+
&lt;p>
82+
&lt;/p>
83+
Please &lt;a href=&quot;https://wiki.eclipse.org/Eclipse_Platform_SDK_Provisioning&quot;>read the tutorial instructions&lt;/a> for more details.
84+
&lt;/p>
85+
</description>
86+
</setup:Configuration>

bundles/org.eclipse.swt.tools/Oomph/platformSwt.setup

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
xsi:schemaLocation="http://www.eclipse.org/oomph/setup/git/1.0 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/Git.ecore http://www.eclipse.org/oomph/predicates/1.0 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/targlets/1.0 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/SetupTarglets.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/SetupWorkingSets.ecore http://www.eclipse.org/oomph/workingsets/1.0 https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/models/WorkingSets.ecore"
1414
name="swt"
1515
label="SWT">
16+
<annotation
17+
source="http://www.eclipse.org/oomph/setup/ConfigurationReference">
18+
<reference
19+
href="PlatformSWTConfiguration.setup#/"/>
20+
</annotation>
1621
<setupTask
1722
xsi:type="setup:EclipseIniTask"
1823
option="-Doomph.redirection.platform.swt"

0 commit comments

Comments
 (0)