From 2ec88f944307e69996a4c469f60fe29dd2b4a2b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dinis=20Ferreira?= Date: Sat, 7 Mar 2026 09:20:37 +0100 Subject: [PATCH 1/5] fix: add -XstartOnFirstThread to UI launch configs for macOS On macOS (Cocoa), SWT requires the Display to be created on the main thread. Without -XstartOnFirstThread, all RuntimeWorkbench and SWTBot launch configs fail with "Invalid thread access". Co-Authored-By: Claude Opus 4.6 --- com.avaloq.tools.ddk.check.ui.test/CheckUiTestSuite.launch | 2 +- .../CheckCfgUiTestSuite.launch | 2 +- .../.launch/Launch Runtime Eclipse.launch | 2 +- com.avaloq.tools.ddk.test.ui.test/AllTests.launch | 2 +- com.avaloq.tools.ddk.xtext.test/AllTests DDK.launch | 2 +- com.avaloq.tools.ddk.xtext.ui.test/XtextUiTestSuite.launch | 2 +- ddk-configuration/launches/devkit-run.launch | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/com.avaloq.tools.ddk.check.ui.test/CheckUiTestSuite.launch b/com.avaloq.tools.ddk.check.ui.test/CheckUiTestSuite.launch index ce35fe0ac2..61224ab98e 100644 --- a/com.avaloq.tools.ddk.check.ui.test/CheckUiTestSuite.launch +++ b/com.avaloq.tools.ddk.check.ui.test/CheckUiTestSuite.launch @@ -31,7 +31,7 @@ - + diff --git a/com.avaloq.tools.ddk.checkcfg.ui.test/CheckCfgUiTestSuite.launch b/com.avaloq.tools.ddk.checkcfg.ui.test/CheckCfgUiTestSuite.launch index 2252b017bb..5988cb9a27 100644 --- a/com.avaloq.tools.ddk.checkcfg.ui.test/CheckCfgUiTestSuite.launch +++ b/com.avaloq.tools.ddk.checkcfg.ui.test/CheckCfgUiTestSuite.launch @@ -31,7 +31,7 @@ - + diff --git a/com.avaloq.tools.ddk.sample.helloworld/.launch/Launch Runtime Eclipse.launch b/com.avaloq.tools.ddk.sample.helloworld/.launch/Launch Runtime Eclipse.launch index 1a56ffc86f..e64dcfe17d 100644 --- a/com.avaloq.tools.ddk.sample.helloworld/.launch/Launch Runtime Eclipse.launch +++ b/com.avaloq.tools.ddk.sample.helloworld/.launch/Launch Runtime Eclipse.launch @@ -21,7 +21,7 @@ - + diff --git a/com.avaloq.tools.ddk.test.ui.test/AllTests.launch b/com.avaloq.tools.ddk.test.ui.test/AllTests.launch index ee04f30bfe..adaf681412 100644 --- a/com.avaloq.tools.ddk.test.ui.test/AllTests.launch +++ b/com.avaloq.tools.ddk.test.ui.test/AllTests.launch @@ -31,7 +31,7 @@ - + diff --git a/com.avaloq.tools.ddk.xtext.test/AllTests DDK.launch b/com.avaloq.tools.ddk.xtext.test/AllTests DDK.launch index c543ce3e8e..0cd665c69d 100644 --- a/com.avaloq.tools.ddk.xtext.test/AllTests DDK.launch +++ b/com.avaloq.tools.ddk.xtext.test/AllTests DDK.launch @@ -34,7 +34,7 @@ - + diff --git a/com.avaloq.tools.ddk.xtext.ui.test/XtextUiTestSuite.launch b/com.avaloq.tools.ddk.xtext.ui.test/XtextUiTestSuite.launch index 937ae68943..a2a3c0f819 100644 --- a/com.avaloq.tools.ddk.xtext.ui.test/XtextUiTestSuite.launch +++ b/com.avaloq.tools.ddk.xtext.ui.test/XtextUiTestSuite.launch @@ -31,7 +31,7 @@ - + diff --git a/ddk-configuration/launches/devkit-run.launch b/ddk-configuration/launches/devkit-run.launch index e48ba4d75d..461419bed6 100644 --- a/ddk-configuration/launches/devkit-run.launch +++ b/ddk-configuration/launches/devkit-run.launch @@ -20,7 +20,7 @@ - + From 371b0c274f09c524e04e81b6f0838007a219c3ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dinis=20Ferreira?= Date: Sat, 7 Mar 2026 09:34:48 +0100 Subject: [PATCH 2/5] build: remove obsolete Solaris profile SunOS/Solaris is no longer a relevant target platform. Co-Authored-By: Claude Opus 4.6 --- ddk-parent/pom.xml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/ddk-parent/pom.xml b/ddk-parent/pom.xml index fcdc121434..35c63c8c10 100644 --- a/ddk-parent/pom.xml +++ b/ddk-parent/pom.xml @@ -393,20 +393,6 @@ x86_64 - - - - sunos - unix - - - solaris - - solaris - gtk - x86 - - From 8f1aefff5bb8e911ecd1b52c96cf0624f4c63099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dinis=20Ferreira?= Date: Sat, 7 Mar 2026 09:35:01 +0100 Subject: [PATCH 3/5] build: add macOS profile with -XstartOnFirstThread for tests Add a macosx profile activated on family=mac that sets OSGI properties (macosx/cocoa/aarch64) and appends -XstartOnFirstThread to test JVM options, fixing SWTException: Invalid thread access on macOS. Co-Authored-By: Claude Opus 4.6 --- ddk-parent/pom.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ddk-parent/pom.xml b/ddk-parent/pom.xml index 35c63c8c10..1f70cb73e6 100644 --- a/ddk-parent/pom.xml +++ b/ddk-parent/pom.xml @@ -408,5 +408,19 @@ x86_64 + + macosx + + + mac + + + + macosx + cocoa + aarch64 + ${runtime.javaOptions} -XstartOnFirstThread + + From 22010abc2774beaa5693a729af1c66c8df266f8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dinis=20Ferreira?= Date: Sat, 7 Mar 2026 11:20:17 +0100 Subject: [PATCH 4/5] build: preserve .gitignore in xtend-gen during maven clean The maven-clean-plugin deletes everything under xtend-gen/ including the .gitignore placeholder files that keep these directories tracked by git. Exclude .gitignore from the clean fileset so that running mvn clean no longer causes dirty working tree status. Co-Authored-By: Claude Opus 4.6 --- ddk-parent/pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ddk-parent/pom.xml b/ddk-parent/pom.xml index 1f70cb73e6..e4d617beb5 100644 --- a/ddk-parent/pom.xml +++ b/ddk-parent/pom.xml @@ -373,6 +373,9 @@ ** + + .gitignore + From 99738223152063ecfdd929ae8e4bb407c1314314 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dinis=20Ferreira?= Date: Sat, 7 Mar 2026 13:33:46 +0100 Subject: [PATCH 5/5] build: gitignore Tycho consumer POMs These .tycho-consumer-pom.xml files are generated during mvn builds and should not be tracked. Co-Authored-By: Claude Opus 4.6 --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index c561386df8..5405f4a192 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ *.xtendbin /*/xtend-gen/* !/*/xtend-gen/.gitignore +.tycho-consumer-pom.xml