From b1485dc9cb3b7616f15664108b3334cae2b3dcc1 Mon Sep 17 00:00:00 2001 From: Joao Ferreira Date: Mon, 18 May 2026 12:04:46 +0200 Subject: [PATCH] feat: add Oomph setup for DDK Eclipse development environment Add Product setup (DDKEclipse.setup) and Project setup (DDK.setup) for provisioning an Eclipse IDE with all dependencies needed to develop dsl-devkit: PDE, Xtext 2.42, Xtend, EMF, MWE2, LSP4J, M2E, EGit, and SWTBot for testing. Includes working set definitions for all DDK module groups and standard editor preferences (spaces for tabs, tab width 2). Closes #208. --- ddk-configuration/oomph-setup/DDK.setup | 243 ++++++++++++++++++ .../oomph-setup/DDKEclipse.setup | 144 +++++++++++ 2 files changed, 387 insertions(+) create mode 100644 ddk-configuration/oomph-setup/DDK.setup create mode 100644 ddk-configuration/oomph-setup/DDKEclipse.setup diff --git a/ddk-configuration/oomph-setup/DDK.setup b/ddk-configuration/oomph-setup/DDK.setup new file mode 100644 index 0000000000..31a9bcb1b9 --- /dev/null +++ b/ddk-configuration/oomph-setup/DDK.setup @@ -0,0 +1,243 @@ + + + + Define the JRE needed to compile and run the Java projects of ${scope.project.label} + + + Set the heap space needed to work with the projects of ${scope.project.label} + + + Disable P2 Mirroring + + + Initialize JDT's package explorer to show working sets as its root objects + + <?xml version="1.0" encoding="UTF-8"?> + <section name="Workbench"> + <section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart"> + <item value="true" key="group_libraries"/> + <item value="false" key="linkWithEditor"/> + <item value="2" key="layout"/> + <item value="2" key="rootMode"/> + <item value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0D;&#x0A;&lt;packageExplorer configured=&quot;true&quot; group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;2&quot; sortWorkingSets=&quot;false&quot; workingSetName=&quot;&quot;&gt;&#x0D;&#x0A;&lt;localWorkingSetManager&gt;&#x0D;&#x0A;&lt;workingSet editPageId=&quot;org.eclipse.jdt.internal.ui.OthersWorkingSet&quot; factoryID=&quot;org.eclipse.ui.internal.WorkingSetFactory&quot; id=&quot;1382792884467_1&quot; label=&quot;Other Projects&quot; name=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;/localWorkingSetManager&gt;&#x0D;&#x0A;&lt;activeWorkingSet workingSetName=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;allWorkingSets workingSetName=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;/packageExplorer&gt;" key="memento"/> + </section> + </section> + + + + + + + + + + + + + Install the tools needed in the IDE to work with the source code for ${scope.project.label} + + + + + + ${scope.project.label} + + + + Import all projects from the cloned ${scope.project.label} repository + + + + Activate the in-repo DDK target platform once projects are imported + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DSL Developer Kit provides tools for developing domain-specific languages based on Eclipse Xtext. + diff --git a/ddk-configuration/oomph-setup/DDKEclipse.setup b/ddk-configuration/oomph-setup/DDKEclipse.setup new file mode 100644 index 0000000000..56afe38219 --- /dev/null +++ b/ddk-configuration/oomph-setup/DDKEclipse.setup @@ -0,0 +1,144 @@ + + + + + eclipse + + + Eclipse + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + record + + + record + + + record + + + record + + + record + + + + + + + + + + + + + + + + + DDK Eclipse for Eclipse 2026-03 + + DDK Eclipse provides the IDE for DSL Developer Kit development. +