From 085305c1edd340151fa567b99a7a6ae477a7746d Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Tue, 25 Jun 2024 12:12:38 +0200 Subject: [PATCH 1/1] Equinox OSGi framework in a separate category --- rebuild/org.argeo.tp.sys/Makefile | 4 +++- repackage/Makefile | 1 + .../org.argeo.tp.osgi.framework/eclipse-equinox/common.bnd | 3 +++ .../eclipse-equinox/includes.properties | 2 ++ .../osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/common.bnd | 1 - .../org.argeo.tp.osgi/eclipse-equinox/includes.properties | 2 -- sdk/output-argeo-tp-platform.target | 1 + 7 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 repackage/osgi/equinox/org.argeo.tp.osgi.framework/eclipse-equinox/common.bnd create mode 100644 repackage/osgi/equinox/org.argeo.tp.osgi.framework/eclipse-equinox/includes.properties diff --git a/rebuild/org.argeo.tp.sys/Makefile b/rebuild/org.argeo.tp.sys/Makefile index 12499c4..ccebea8 100644 --- a/rebuild/org.argeo.tp.sys/Makefile +++ b/rebuild/org.argeo.tp.sys/Makefile @@ -13,11 +13,13 @@ ANGUS_BRANCH=2.0 ANGUS_VERSION=$(ANGUS_BRANCH).3 all: retrieve-angus-mbox osgi jni-angus-mbox + mkdir -p $(SDK_BUILD_BASE)/a2/$(TARGET_ARCH_CATEGORY_PREFIX)/$(A2_CATEGORY) + mv $(SDK_BUILD_BASE)/a2/$(A2_CATEGORY)/org.eclipse.angus.mail.mbox.$(ANGUS_BRANCH).jar $(SDK_BUILD_BASE)/a2/$(TARGET_ARCH_CATEGORY_PREFIX)/$(A2_CATEGORY) install: mkdir -p $(A2_NATIVE_INSTALL_TARGET)/$(A2_CATEGORY) # Angus mbox - $(INSTALL) $(A2_NATIVE_INSTALL_TARGET)/$(A2_CATEGORY) $(SDK_BUILD_BASE)/a2/$(A2_CATEGORY)/org.eclipse.angus.mail.mbox.$(ANGUS_BRANCH).jar + $(INSTALL) $(A2_NATIVE_INSTALL_TARGET)/$(A2_CATEGORY) $(SDK_BUILD_BASE)/a2/$(TARGET_ARCH_CATEGORY_PREFIX)/$(A2_CATEGORY)/org.eclipse.angus.mail.mbox.$(ANGUS_BRANCH).jar #$(INSTALL) $(A2_NATIVE_INSTALL_TARGET) $(A2_NATIVE_CATEGORY)/$(MBOX_TARGET_EXEC) uninstall: osgi-uninstall diff --git a/repackage/Makefile b/repackage/Makefile index 37eb377..b9c6bfe 100644 --- a/repackage/Makefile +++ b/repackage/Makefile @@ -6,6 +6,7 @@ org.argeo.tp \ org.argeo.tp.httpd \ crypto/fips/org.argeo.tp.crypto \ org.argeo.tp.sshd \ +osgi/equinox/org.argeo.tp.osgi.framework \ osgi/equinox/org.argeo.tp.osgi \ osgi/equinox/org.argeo.tp.eclipse \ diff --git a/repackage/osgi/equinox/org.argeo.tp.osgi.framework/eclipse-equinox/common.bnd b/repackage/osgi/equinox/org.argeo.tp.osgi.framework/eclipse-equinox/common.bnd new file mode 100644 index 0000000..2c682bb --- /dev/null +++ b/repackage/osgi/equinox/org.argeo.tp.osgi.framework/eclipse-equinox/common.bnd @@ -0,0 +1,3 @@ +SPDX-License-Identifier: EPL-2.0 +Argeo-Origin-NoMetadataGeneration: true +Argeo-Origin-KeepModuleInfo: true diff --git a/repackage/osgi/equinox/org.argeo.tp.osgi.framework/eclipse-equinox/includes.properties b/repackage/osgi/equinox/org.argeo.tp.osgi.framework/eclipse-equinox/includes.properties new file mode 100644 index 0000000..1f77045 --- /dev/null +++ b/repackage/osgi/equinox/org.argeo.tp.osgi.framework/eclipse-equinox/includes.properties @@ -0,0 +1,2 @@ +plugins/org.eclipse.osgi_*.jar= +plugins/org.eclipse.osgi.source_*.jar= diff --git a/repackage/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/common.bnd b/repackage/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/common.bnd index 555e386..743e1d3 100644 --- a/repackage/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/common.bnd +++ b/repackage/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/common.bnd @@ -1,3 +1,2 @@ SPDX-License-Identifier: EPL-2.0 Argeo-Origin-NoMetadataGeneration: true -#Argeo-Origin-KeepModuleInfo: true diff --git a/repackage/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/includes.properties b/repackage/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/includes.properties index 3ce71c6..38f9c23 100644 --- a/repackage/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/includes.properties +++ b/repackage/osgi/equinox/org.argeo.tp.osgi/eclipse-equinox/includes.properties @@ -1,5 +1,3 @@ -plugins/org.eclipse.osgi_*.jar= -plugins/org.eclipse.osgi.source_*.jar= plugins/org.eclipse.osgi.util*.jar= plugins/org.eclipse.osgi.services*.jar= plugins/org.osgi.service.*.jar= diff --git a/sdk/output-argeo-tp-platform.target b/sdk/output-argeo-tp-platform.target index 65865cd..ee8fedb 100644 --- a/sdk/output-argeo-tp-platform.target +++ b/sdk/output-argeo-tp-platform.target @@ -5,6 +5,7 @@ + -- 2.39.2