Skip to content

Commit

Permalink
[Oomph-Setup] Add eclipse.swt configuration setup
Browse files Browse the repository at this point in the history
Additionally add a styled and drag&drop-able Oomph Configuration button.

Part of eclipse-platform/eclipse.platform.releng.aggregator#2430
  • Loading branch information
HannesWell committed Oct 7, 2024
1 parent 0324a13 commit 769142b
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,14 @@ Contributing to SWT

Thanks for your interest in this project.

See https://github.com/eclipse-platform/.github/blob/main/CONTRIBUTING.md for contributing to Eclipse Platform in general.
For information about contributing to Eclipse Platform in general, see the general [CONTRIBUTING](https://github.com/eclipse-platform/.github/blob/main/CONTRIBUTING.md) page.


[![Create Eclipse Development Environment for Eclipse SWT](https://download.eclipse.org/oomph/www/setups/svg/Eclipse_SWT.svg)](
https://www.eclipse.org/setups/installer/?url=https://raw.githubusercontent.com/eclipse-platform/eclipse.platform.swt/bundles/org.eclipse.swt.tools/Oomph/EclipseSWT.setup&show=true
"Click to open Eclipse-Installer Auto Launch or drag into your running installer")



Developer resources:
--------------------
Expand Down
86 changes: 86 additions & 0 deletions bundles/org.eclipse.swt.tools/Oomph/PlatformSWTConfiguration.setup
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<setup:Configuration
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
label="Eclipse SWT">
<annotation
source="http://www.eclipse.org/oomph/setup/BrandingInfo">
<detail
key="imageURI">
<value>https://www.eclipse.org/downloads/images/committers.png</value>
</detail>
<detail
key="badgeLabel">
<value>SWT</value>
</detail>
</annotation>
<installation
name="eclipse.swt.installation"
label="Eclipse SWT Installation">
<setupTask
xsi:type="setup:VariableTask"
name="installation.id.default"
value="eclipse-swt"/>
<productVersion
href="index:/org.eclipse.setup#//@productCatalogs[name='org.eclipse.applications']/@products[name='eclipse.platform.sdk']/@versions[name='latest']"/>
<description>The Eclipse SWT installation provides the latest tools needed to work with the project's source code.</description>
</installation>
<workspace
name="eclipse.swt.workspace"
label="Eclipse SWT Workspace">
<setupTask
xsi:type="setup:VariableTask"
name="workspace.id.default"
value="eclipse-swt-ws"/>
<setupTask
xsi:type="setup:CompoundTask"
name="User Preferences">
<annotation
source="http://www.eclipse.org/oomph/setup/UserPreferences">
<detail
key="/instance/org.eclipse.oomph.setup.ui/showToolBarContributions">
<value>record</value>
</detail>
</annotation>
<setupTask
xsi:type="setup:CompoundTask"
name="org.eclipse.oomph.setup.ui">
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.oomph.setup.ui/showToolBarContributions"
value="true"/>
</setupTask>
<setupTask
xsi:type="setup:CompoundTask"
name="org.eclipse.ui.ide">
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.ui.ide/WORKSPACE_NAME"
value="Eclipse SWT"/>
</setupTask>
</setupTask>
<setupTask
xsi:type="setup:VariableTask"
name="eclipse.git.authentication.style"
defaultValue="anonymous"/>
<stream
href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/@projects[name='platform']/@projects[name='swt']/@streams[name='master']"/>
<description>The Eclipse SWT workspace provides all the source code of the project.</description>
</workspace>
<description>
&lt;p>
The &lt;code>Eclipse SWT&lt;/code> configuration provisions a dedicated development environment for the complete set of projects that comprise SWT,
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.
&lt;/p>
&lt;p>
The installation is based on the latest successful integration build of the &lt;code>Eclipse Platform SDK&lt;/code>,
the PDE target platform, like the installation, is also based on the latest integration build,
and the API baseline is based on the most recent release.
&lt;p>
&lt;/p>
Please &lt;a href=&quot;https://wiki.eclipse.org/Eclipse_Platform_SDK_Provisioning&quot;>read the tutorial instructions&lt;/a> for more details.
&lt;/p>
</description>
</setup:Configuration>
5 changes: 5 additions & 0 deletions bundles/org.eclipse.swt.tools/Oomph/platformSwt.setup
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
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"
name="swt"
label="SWT">
<annotation
source="http://www.eclipse.org/oomph/setup/ConfigurationReference">
<reference
href="PlatformSWTConfiguration.setup#/"/>
</annotation>
<setupTask
xsi:type="setup:EclipseIniTask"
option="-Doomph.redirection.platform.swt"
Expand Down

0 comments on commit 769142b

Please sign in to comment.