Skip to content

Commit

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

Part of eclipse-platform/eclipse.platform.releng.aggregator#2430
  • Loading branch information
HannesWell committed Oct 12, 2024
1 parent b160eeb commit 4acfe47
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ To build and run the unit test, use the following command:

See [CONTRIBUTING.md](https://github.com/eclipse-equinox/.github/blob/main/CONTRIBUTING.md)

[![Create Eclipse Development Environment for Equinox P2](https://download.eclipse.org/oomph/www/setups/svg/P2.svg)](
https://www.eclipse.org/setups/installer/?url=https://raw.githubusercontent.com/eclipse-equinox/p2/master/releng/org.eclipse.equinox.p2.setup/EquinoxP2Configuration.setup&show=true
"Click to open Eclipse-Installer Auto Launch or drag into your running installer")
11 changes: 11 additions & 0 deletions releng/org.eclipse.equinox.p2.setup/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.equinox.p2.setup</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
86 changes: 86 additions & 0 deletions releng/org.eclipse.equinox.p2.setup/EquinoxP2Configuration.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="Equinox P2">
<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>P2</value>
</detail>
</annotation>
<installation
name="equinox.p2.installation"
label="Equinox P2 Installation">
<setupTask
xsi:type="setup:VariableTask"
name="installation.id.default"
value="equinox-p2"/>
<productVersion
href="index:/org.eclipse.setup#//@productCatalogs[name='org.eclipse.applications']/@products[name='eclipse.platform.sdk']/@versions[name='latest']"/>
<description>The Equinox P2 installation provides the latest tools needed to work with the project's source code.</description>
</installation>
<workspace
name="equinox.p2.workspace"
label="Equinox P2 Workspace">
<setupTask
xsi:type="setup:VariableTask"
name="workspace.id.default"
value="equinox-p2-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="Equinox P2"/>
</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='equinox']/@projects[name='p2']/@streams[name='master']"/>
<description>The Equinox P2 workspace provides all the source code of the project.</description>
</workspace>
<description>
&lt;p>
The &lt;code>Equinox P2&lt;/code> configuration provisions a dedicated development environment for the complete set of projects that comprise P2,
i.e. the projects that are contained in the &lt;a href=&quot;https://github.com/eclipse-equinox/p2&quot;>p2&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>

0 comments on commit 4acfe47

Please sign in to comment.