Skip to content

Commit

Permalink
[Oomph-Setup] Add eclipse.platform 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 9, 2024
1 parent 02fda8d commit fa33dc6
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ For more information and important links, refer to the [JDT wiki page](https://g

Please bear in mind that this project is almost entirely developed by volunteers. If you do not provide the implementation yourself (or pay someone to do it for you), the bug might never get fixed. If it is a serious bug, other people than you might care enough to provide a fix.

[![Create Eclipse Development Environment for Eclipse Platform](https://download.eclipse.org/oomph/www/setups/svg/JDT_Core.svg)](
https://www.eclipse.org/setups/installer/?url=https://raw.githubusercontent.com/eclipse-jdt/eclipse.jdt.core/master/org.eclipse.jdt.core.setup/JdtCoreConfiguration.setup&show=true
"Click to open Eclipse-Installer Auto Launch or drag into your running installer")

## License

[Eclipse Public License (EPL) v2.0](https://www.eclipse.org/legal/epl-2.0/)
Expand Down
11 changes: 11 additions & 0 deletions org.eclipse.jdt.core.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.jdt.core.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
90 changes: 90 additions & 0 deletions org.eclipse.jdt.core.setup/JdtCoreConfiguration.setup
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<?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="JDT Core">
<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>JDT Core</value>
</detail>
</annotation>
<installation
name="jdt.core.installation"
label="JDT Core Installation">
<setupTask
xsi:type="setup:VariableTask"
name="installation.id.default"
value="jdt-core"/>
<productVersion
href="index:/org.eclipse.setup#//@productCatalogs[name='org.eclipse.applications']/@products[name='eclipse.platform.sdk']/@versions[name='latest']"/>
<description>The JDT Core installation provides the latest tools needed to work with the project's source code.</description>
</installation>
<workspace
name="jdt.core.workspace"
label="JDT Core Workspace">
<setupTask
xsi:type="setup:VariableTask"
name="workspace.id.default"
value="jdt-core-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="JDT Core"/>
</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='jdt']/@projects[name='core']/@streams[name='master']"/>
<stream
href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/@projects[name='jdt']/@projects[name='core']/@projects[name='tests']/@streams[name='master']"/>
<stream
href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/@projects[name='jdt']/@projects[name='core']/@projects[name='testbinaries']/@streams[name='master']"/>
<description>The JDT Core workspace provides all the source code of the project.</description>
</workspace>
<description>
&lt;p>
The &lt;code>JDT Core&lt;/code> configuration provisions a dedicated development environment for the complete set of projects that comprise the JDT Core,
i.e. the projects that are contained in the &lt;a href=&quot;https://github.com/eclipse-jdt/jdt.core&quot;>jdt.core&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 fa33dc6

Please sign in to comment.