From 885ebff4deff128986550b0d093ecb443eabbcfe Mon Sep 17 00:00:00 2001 From: Patrick Ziegler Date: Mon, 11 Dec 2023 21:02:51 +0100 Subject: [PATCH] Move IDEUtil class to miglayout-core and delete obsolete ideutil project The IDEUtil class is used to expose package-private functionality from miglayout-core to external projects. This mechanism fails in an OSGi environment, because the IDEUtil class is loaded by a different classloader that is used to load classes it tries to access. To solve this problem, move IDEUtil to miglayout-core. Given that the ideutil project is now empty, it is removed from the repository. resolves #103 --- .../java/net/miginfocom/layout/IDEUtil.java | 0 .../net/miginfocom/layout/IDEUtilTest.java | 0 ideutil/pom.xml | 20 ------------------- pom.xml | 1 - 4 files changed, 21 deletions(-) rename {ideutil => core}/src/main/java/net/miginfocom/layout/IDEUtil.java (100%) rename {ideutil => core}/src/test/java/net/miginfocom/layout/IDEUtilTest.java (100%) delete mode 100755 ideutil/pom.xml diff --git a/ideutil/src/main/java/net/miginfocom/layout/IDEUtil.java b/core/src/main/java/net/miginfocom/layout/IDEUtil.java similarity index 100% rename from ideutil/src/main/java/net/miginfocom/layout/IDEUtil.java rename to core/src/main/java/net/miginfocom/layout/IDEUtil.java diff --git a/ideutil/src/test/java/net/miginfocom/layout/IDEUtilTest.java b/core/src/test/java/net/miginfocom/layout/IDEUtilTest.java similarity index 100% rename from ideutil/src/test/java/net/miginfocom/layout/IDEUtilTest.java rename to core/src/test/java/net/miginfocom/layout/IDEUtilTest.java diff --git a/ideutil/pom.xml b/ideutil/pom.xml deleted file mode 100755 index 609bed1..0000000 --- a/ideutil/pom.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - 4.0.0 - - com.miglayout - miglayout-parent - 11.2 - - miglayout-ideutil - MiGLayout IDEUtil - MiGLayout - IDEUtil class for EDI integration - http://www.miglayout.com/ - - - - ${project.groupId} - miglayout-core - - - diff --git a/pom.xml b/pom.xml index db30f82..e8a587b 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,6 @@ swing swt javafx - ideutil demo examples nbm