From e709b6ee3f08fec9d2f303c25b30952a8af11ec7 Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Fri, 12 Aug 2022 07:29:48 +0200 Subject: [PATCH] Introduce deployment profiles --- .project | 5 +++ Makefile | 4 ++- org.argeo.app.profile.acr.fs/.classpath | 7 ++++ org.argeo.app.profile.acr.fs/.project | 33 +++++++++++++++++++ .../OSGI-INF/srvContentProvider.xml | 9 +++++ org.argeo.app.profile.acr.fs/bnd.bnd | 6 ++++ org.argeo.app.profile.acr.fs/build.properties | 5 +++ org.argeo.app.profile.acr.jcr/.classpath | 7 ++++ org.argeo.app.profile.acr.jcr/.project | 33 +++++++++++++++++++ .../OSGI-INF/srvContentProvider.xml | 10 ++++++ .../OSGI-INF/sysContentProvider.xml | 10 ++++++ org.argeo.app.profile.acr.jcr/bnd.bnd | 7 ++++ .../build.properties | 5 +++ 13 files changed, 140 insertions(+), 1 deletion(-) create mode 100644 org.argeo.app.profile.acr.fs/.classpath create mode 100644 org.argeo.app.profile.acr.fs/.project create mode 100644 org.argeo.app.profile.acr.fs/OSGI-INF/srvContentProvider.xml create mode 100644 org.argeo.app.profile.acr.fs/bnd.bnd create mode 100644 org.argeo.app.profile.acr.fs/build.properties create mode 100644 org.argeo.app.profile.acr.jcr/.classpath create mode 100644 org.argeo.app.profile.acr.jcr/.project create mode 100644 org.argeo.app.profile.acr.jcr/OSGI-INF/srvContentProvider.xml create mode 100644 org.argeo.app.profile.acr.jcr/OSGI-INF/sysContentProvider.xml create mode 100644 org.argeo.app.profile.acr.jcr/bnd.bnd create mode 100644 org.argeo.app.profile.acr.jcr/build.properties diff --git a/.project b/.project index 3fcd2fd..77cae22 100644 --- a/.project +++ b/.project @@ -5,6 +5,11 @@ + + org.eclipse.pde.ds.core.builder + + + diff --git a/Makefile b/Makefile index e0af94f..573c303 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,9 @@ org.argeo.app.core \ org.argeo.app.servlet.odk \ org.argeo.app.servlet.publish \ org.argeo.app.ui \ -org.argeo.app.theme.default +org.argeo.app.theme.default \ +org.argeo.app.profile.acr.fs \ +org.argeo.app.profile.acr.jcr \ A2_OUTPUT = $(SDK_BUILD_BASE)/a2 A2_BASE = $(A2_OUTPUT) diff --git a/org.argeo.app.profile.acr.fs/.classpath b/org.argeo.app.profile.acr.fs/.classpath new file mode 100644 index 0000000..81fe078 --- /dev/null +++ b/org.argeo.app.profile.acr.fs/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/org.argeo.app.profile.acr.fs/.project b/org.argeo.app.profile.acr.fs/.project new file mode 100644 index 0000000..bc3f767 --- /dev/null +++ b/org.argeo.app.profile.acr.fs/.project @@ -0,0 +1,33 @@ + + + org.argeo.app.profile.acr.fs + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.ds.core.builder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/org.argeo.app.profile.acr.fs/OSGI-INF/srvContentProvider.xml b/org.argeo.app.profile.acr.fs/OSGI-INF/srvContentProvider.xml new file mode 100644 index 0000000..debf19c --- /dev/null +++ b/org.argeo.app.profile.acr.fs/OSGI-INF/srvContentProvider.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/org.argeo.app.profile.acr.fs/bnd.bnd b/org.argeo.app.profile.acr.fs/bnd.bnd new file mode 100644 index 0000000..8f0d882 --- /dev/null +++ b/org.argeo.app.profile.acr.fs/bnd.bnd @@ -0,0 +1,6 @@ +Import-Package: \ +org.argeo.cms.acr.fs,\ +* + +Service-Component:\ +OSGI-INF/srvContentProvider.xml,\ diff --git a/org.argeo.app.profile.acr.fs/build.properties b/org.argeo.app.profile.acr.fs/build.properties new file mode 100644 index 0000000..c58ea21 --- /dev/null +++ b/org.argeo.app.profile.acr.fs/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + OSGI-INF/ diff --git a/org.argeo.app.profile.acr.jcr/.classpath b/org.argeo.app.profile.acr.jcr/.classpath new file mode 100644 index 0000000..81fe078 --- /dev/null +++ b/org.argeo.app.profile.acr.jcr/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/org.argeo.app.profile.acr.jcr/.project b/org.argeo.app.profile.acr.jcr/.project new file mode 100644 index 0000000..632c90e --- /dev/null +++ b/org.argeo.app.profile.acr.jcr/.project @@ -0,0 +1,33 @@ + + + org.argeo.app.profile.acr.jcr + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.ds.core.builder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/org.argeo.app.profile.acr.jcr/OSGI-INF/srvContentProvider.xml b/org.argeo.app.profile.acr.jcr/OSGI-INF/srvContentProvider.xml new file mode 100644 index 0000000..704fec7 --- /dev/null +++ b/org.argeo.app.profile.acr.jcr/OSGI-INF/srvContentProvider.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/org.argeo.app.profile.acr.jcr/OSGI-INF/sysContentProvider.xml b/org.argeo.app.profile.acr.jcr/OSGI-INF/sysContentProvider.xml new file mode 100644 index 0000000..0cbc7f0 --- /dev/null +++ b/org.argeo.app.profile.acr.jcr/OSGI-INF/sysContentProvider.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/org.argeo.app.profile.acr.jcr/bnd.bnd b/org.argeo.app.profile.acr.jcr/bnd.bnd new file mode 100644 index 0000000..625b5f4 --- /dev/null +++ b/org.argeo.app.profile.acr.jcr/bnd.bnd @@ -0,0 +1,7 @@ +Import-Package: \ +org.argeo.cms.jcr.acr,\ +* + +Service-Component:\ +OSGI-INF/sysContentProvider.xml,\ +OSGI-INF/srvContentProvider.xml,\ diff --git a/org.argeo.app.profile.acr.jcr/build.properties b/org.argeo.app.profile.acr.jcr/build.properties new file mode 100644 index 0000000..c58ea21 --- /dev/null +++ b/org.argeo.app.profile.acr.jcr/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + OSGI-INF/ -- 2.30.2