From: Mathieu Baudier Date: Sun, 28 Oct 2018 15:23:52 +0000 (+0100) Subject: RCP RPMs X-Git-Tag: argeo-commons-2.1.76~36 X-Git-Url: https://git.argeo.org/?p=lgpl%2Fargeo-commons.git;a=commitdiff_plain;h=08ec86527fe86688288db76680f148e2a01c75d3 RCP RPMs --- diff --git a/dep/org.argeo.dep.cms.client/pom.xml b/dep/org.argeo.dep.cms.client/pom.xml index a3b02e864..51eed5145 100644 --- a/dep/org.argeo.dep.cms.client/pom.xml +++ b/dep/org.argeo.dep.cms.client/pom.xml @@ -1,5 +1,7 @@ - + 4.0.0 org.argeo.commons @@ -112,6 +114,8 @@ org.argeo.tp.javax javax.servlet + + org.argeo.tp.equinox org.eclipse.osgi.util @@ -256,28 +260,28 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + org.codehaus.mojo rpm-maven-plugin @@ -306,13 +310,13 @@ - - - - - - - + + + + + + + argeo-cms-client-tp @@ -346,28 +350,28 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + org.codehaus.mojo rpm-maven-plugin diff --git a/dep/org.argeo.dep.cms.e4.rap/pom.xml b/dep/org.argeo.dep.cms.e4.rap/pom.xml index 9f530155d..79f85131c 100644 --- a/dep/org.argeo.dep.cms.e4.rap/pom.xml +++ b/dep/org.argeo.dep.cms.e4.rap/pom.xml @@ -20,6 +20,52 @@ 2.1.76-SNAPSHOT pom + + + + org.argeo.tp.rap.e4 + org.eclipse.rap.rwt + + + org.argeo.tp.rap.e4 + org.eclipse.core.commands + + + org.argeo.tp.rap.e4 + org.eclipse.rap.jface + + + org.argeo.tp.rap.e4 + org.eclipse.rap.filedialog + + + org.argeo.tp.rap.e4 + org.eclipse.rap.fileupload + + + + + org.argeo.commons + org.argeo.eclipse.ui + 2.1.76-SNAPSHOT + + + org.argeo.commons + org.argeo.eclipse.ui.rap + 2.1.76-SNAPSHOT + + + org.argeo.commons + org.argeo.cms.ui + 2.1.76-SNAPSHOT + + + org.argeo.commons + org.argeo.cms.ui.theme + 2.1.76-SNAPSHOT + + + org.argeo.commons org.argeo.cms.e4 diff --git a/dep/org.argeo.dep.cms.node/pom.xml b/dep/org.argeo.dep.cms.node/pom.xml index 286beb7e1..199e168fd 100644 --- a/dep/org.argeo.dep.cms.node/pom.xml +++ b/dep/org.argeo.dep.cms.node/pom.xml @@ -30,17 +30,6 @@ org.argeo.cms 2.1.76-SNAPSHOT - - - org.argeo.commons - org.argeo.cms.ui - 2.1.76-SNAPSHOT - - - org.argeo.commons - org.argeo.cms.ui.theme - 2.1.76-SNAPSHOT - org.argeo.commons org.argeo.enterprise @@ -52,18 +41,6 @@ 2.1.76-SNAPSHOT - - - org.argeo.commons - org.argeo.eclipse.ui - 2.1.76-SNAPSHOT - - - org.argeo.commons - org.argeo.eclipse.ui.rap - 2.1.76-SNAPSHOT - - @@ -162,28 +139,6 @@ org.apache.lucene - - - org.argeo.tp.rap.e4 - org.eclipse.rap.rwt - - - org.argeo.tp.rap.e4 - org.eclipse.core.commands - - - org.argeo.tp.rap.e4 - org.eclipse.rap.jface - - - org.argeo.tp.rap.e4 - org.eclipse.rap.filedialog - - - org.argeo.tp.rap.e4 - org.eclipse.rap.fileupload - - org.argeo.tp.spring diff --git a/dep/org.argeo.dep.cms.platform/pom.xml b/dep/org.argeo.dep.cms.platform/pom.xml index a22c7a9b7..79e6da89e 100644 --- a/dep/org.argeo.dep.cms.platform/pom.xml +++ b/dep/org.argeo.dep.cms.platform/pom.xml @@ -19,7 +19,51 @@ pom - + + + org.argeo.tp.rap.e4 + org.eclipse.rap.rwt + + + org.argeo.tp.rap.e4 + org.eclipse.core.commands + + + org.argeo.tp.rap.e4 + org.eclipse.rap.jface + + + org.argeo.tp.rap.e4 + org.eclipse.rap.filedialog + + + org.argeo.tp.rap.e4 + org.eclipse.rap.fileupload + + + + + org.argeo.commons + org.argeo.eclipse.ui + 2.1.76-SNAPSHOT + + + org.argeo.commons + org.argeo.eclipse.ui.rap + 2.1.76-SNAPSHOT + + + org.argeo.commons + org.argeo.cms.ui + 2.1.76-SNAPSHOT + + + org.argeo.commons + org.argeo.cms.ui.theme + 2.1.76-SNAPSHOT + + + org.argeo.commons org.argeo.cms.ui.workbench diff --git a/org.argeo.cms.e4/bnd.bnd b/org.argeo.cms.e4/bnd.bnd index a851c7739..700bdcb52 100644 --- a/org.argeo.cms.e4/bnd.bnd +++ b/org.argeo.cms.e4/bnd.bnd @@ -12,4 +12,5 @@ org.argeo.jcr.docbook,\ org.eclipse.core.commands.common,\ org.eclipse.jface.window,\ org.argeo.cms.widgets.auth,\ +org.eclipse.nebula.widgets.richtext;resolution:=optional,\ * diff --git a/rcp/dep/org.argeo.dep.cms.e4.rcp/pom.xml b/rcp/dep/org.argeo.dep.cms.e4.rcp/pom.xml index 4b7b0f7bc..4e9a6556f 100644 --- a/rcp/dep/org.argeo.dep.cms.e4.rcp/pom.xml +++ b/rcp/dep/org.argeo.dep.cms.e4.rcp/pom.xml @@ -1,4 +1,6 @@ - + 4.0.0 org.argeo.commons.rcp @@ -16,204 +18,524 @@ 3.106.100.v20180305-0927 - + - org.argeo.tp - argeo-tp-rcp-e4 - ${version.argeo-tp} - - - org.argeo.tp.rcp.e4 - org.eclipse.osgi - - - org.argeo.tp.rcp.e4 - org.eclipse.osgi.services - + org.argeo.tp.rcp.e4 + org.eclipse.equinox.launcher + 1.5.100.v20180827-1352 + - - org.argeo.tp.rcp.e4 - org.eclipse.osgi.compatibility.state - + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.css.swt.theme + 0.12.100.v20180828-0227 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.workbench.swt + 0.14.300.v20180906-1121 + + + org.argeo.tp.rcp.e4 + org.eclipse.core.contenttype + 3.7.100.v20180817-1401 + + + org.argeo.tp.rcp.e4 + org.apache.batik.constants + 1.10.0.v20180703-1553 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.core.di + 1.7.100.v20180817-1215 + + + org.argeo.tp.rcp.e4 + org.eclipse.swt.gtk.linux.x86 + 3.108.0.v20180904-1901 + + + org.argeo.tp.rcp.e4 + org.eclipse.core.runtime + 3.15.0.v20180817-1401 + + + org.argeo.tp.rcp.e4 + org.eclipse.core.databinding + 1.7.0.v20180827-2028 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.bindings + 0.12.200.v20180828-0227 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.model.workbench + 2.1.100.v20180904-1914 + + + org.argeo.tp.rcp.e4 + org.eclipse.ui.cocoa + 1.2.100.v20180828-0838 + + + org.argeo.tp.rcp.e4 + org.apache.felix.scr + 2.0.14.v20180822-1822 + + + org.argeo.tp.rcp.e4 + org.w3c.dom.svg + 1.1.0.v201011041433 + + + org.argeo.tp.rcp.e4 + org.eclipse.jface.databinding + 1.8.300.v20180828-0836 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.workbench.addons.swt + 1.3.200.v20180828-0227 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.core.services + 2.1.200.v20180817-1215 + + + org.argeo.tp.rcp.e4 + org.apache.felix.gogo.shell + 1.1.0.v20180713-1646 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.widgets + 1.2.200.v20180828-0227 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.core.commands + 0.12.300.v20180828-0227 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.core.di.extensions.supplier + 0.15.200.v20180817-1215 + + + org.argeo.tp.rcp.e4 + org.eclipse.core.expressions + 3.6.200.v20180817-1401 + + + org.argeo.tp.rcp.e4 + org.eclipse.equinox.launcher.gtk.linux.x86_64 + 1.1.800.v20180827-1352 + + + org.argeo.tp.rcp.e4 + com.ibm.icu + 62.1.0.v20180727-1652 + + + org.argeo.tp.rcp.e4 + org.apache.batik.css + 1.10.0.v20180703-1553 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.css.swt + 0.13.200.v20180828-0227 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.swt.gtk + 1.0.400.v20180828-0227 + + + org.argeo.tp.rcp.e4 + org.apache.batik.i18n + 1.10.0.v20180703-1553 + + + org.argeo.tp.rcp.e4 + org.w3c.css.sac + 1.3.1.v200903091627 + + + org.argeo.tp.rcp.e4 + org.eclipse.equinox.launcher.gtk.linux.x86 + 1.1.800.v20180827-1352 + + + org.argeo.tp.rcp.e4 + org.eclipse.jface + 3.14.100.v20180828-0836 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.emf.xpath + 0.2.200.v20180828-0227 + + + org.argeo.tp.rcp.e4 + org.eclipse.swt.cocoa.macosx.x86_64 + 3.108.0.v20180904-1901 + + + org.argeo.tp.rcp.e4 + org.eclipse.equinox.launcher.win32.win32.x86 + 1.1.800.v20180827-1352 + + + org.argeo.tp.rcp.e4 + org.eclipse.equinox.launcher.cocoa.macosx.x86_64 + 1.1.800.v20180827-1352 + + + org.argeo.tp.rcp.e4 + org.apache.felix.gogo.runtime + 1.1.0.v20180713-1646 + + + org.argeo.tp.rcp.e4 + org.eclipse.core.databinding.observable + 1.6.300.v20180827-2028 + + + org.argeo.tp.rcp.e4 + org.eclipse.rcp + 4.9.100.v20180906-0745 + + + org.argeo.tp.rcp.e4 + org.eclipse.equinox.launcher.win32.win32.x86_64 + 1.1.800.v20180827-1352 + + + org.argeo.tp.rcp.e4 + org.eclipse.help + 3.8.200.v20180821-0700 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.workbench.renderers.swt + 0.14.300.v20180828-0227 + + + org.argeo.tp.rcp.e4 + org.w3c.dom.smil + 1.0.1.v200903091627 + + + org.argeo.tp.rcp.e4 + org.eclipse.swt.win32.win32.x86 + 3.108.0.v20180904-1901 + + + org.argeo.tp.rcp.e4 + org.eclipse.core.databinding.property + 1.6.300.v20180827-2028 + + + org.argeo.tp.rcp.e4 + org.apache.commons.io + 2.2.0.v201405211200 + + + org.argeo.tp.rcp.e4 + org.w3c.dom.events + 3.0.0.draft20060413_v201105210656 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.di + 1.2.300.v20180906-1121 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.dialogs + 1.1.300.v20180828-0227 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.core.di.extensions + 0.15.200.v20180817-1215 + + + org.argeo.tp.rcp.e4 + org.eclipse.equinox.bidi + 1.1.200.v20180827-1235 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.core.di.annotations + 1.6.200.v20180817-1215 + + + org.argeo.tp.rcp.e4 + org.apache.commons.logging + 1.2.0.v20180409-1502 + + + org.argeo.tp.rcp.e4 + org.apache.felix.gogo.command + 1.0.2.v20170914-1324 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.workbench3 + 0.14.200.v20180828-0227 + + + org.argeo.tp.rcp.e4 + org.eclipse.core.jobs + 3.10.100.v20180817-1215 + + + org.argeo.tp.rcp.e4 + org.apache.commons.jxpath + 1.3.0.v200911051830 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.core.contexts + 1.7.100.v20180817-1215 + + + org.argeo.tp.rcp.e4 + org.eclipse.swt.gtk.linux.x86_64 + 3.108.0.v20180904-1901 + + + org.argeo.tp.rcp.e4 + org.eclipse.core.databinding.beans + 1.4.200.v20180827-2028 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.css.core + 0.12.300.v20180828-0227 + + + org.argeo.tp.rcp.e4 + org.eclipse.ui.workbench + 3.112.0.v20180906-1121 + + + org.argeo.tp.rcp.e4 + org.eclipse.swt.win32.win32.x86_64 + 3.108.0.v20180904-1901 + + + org.argeo.tp.rcp.e4 + org.apache.batik.util + 1.10.0.v20180703-1553 + + + org.argeo.tp.rcp.e4 + org.eclipse.core.commands + 3.9.200.v20180827-1727 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.services + 1.3.200.v20180906-1121 + + + org.argeo.tp.rcp.e4 + org.eclipse.ui + 3.110.0.v20180828-1350 + + + org.argeo.tp.rcp.e4 + org.apache.xmlgraphics + 2.2.0.v20180809-1640 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.workbench.renderers.swt.cocoa + 0.12.100.v20180828-0227 + + + org.argeo.tp.rcp.e4 + org.eclipse.swt.gtk.linux.ppc64le + 3.108.0.v20180904-1901 + + + org.argeo.tp.rcp.e4 + org.eclipse.e4.ui.workbench + 1.7.0.v20180906-1121 + + + org.argeo.tp.rcp.e4 + org.eclipse.swt + 3.108.0.v20180904-1901 + - - - org.argeo.tp.rcp.e4 - org.eclipse.update.configurator - - - - - - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.carbon.macosx - - - - - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.gtk.solaris.sparc - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.gtk.solaris.x86 - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.motif.solaris.sparc - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.gtk.linux.s390 - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.gtk.linux.s390x - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.gtk.linux.ppc64 - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.motif.linux.x86 - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.gtk.linux.ppc - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.photon.qnx.x86 - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.motif.aix.ppc - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.motif.aix.ppc64 - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.motif.hpux.ia64_32 - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.gtk.aix.ppc - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.gtk.aix.ppc64 - - - org.argeo.tp.rcp.e4 - org.eclipse.swt.gtk.hpux.ia64_32 - + + + + + + + + + + + + + + - - - - - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.carbon.macosx - - - - - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.gtk.solaris.sparc - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.gtk.solaris.x86 - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.motif.solaris.sparc - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.gtk.linux.s390 - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.gtk.linux.s390x - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.gtk.linux.ppc64 - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.motif.linux.x86 - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.gtk.linux.ppc - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.photon.qnx.x86 - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.motif.aix.ppc - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.motif.aix.ppc64 - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.motif.hpux.ia64_32 - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.gtk.aix.ppc - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.gtk.aix.ppc64 - - - org.argeo.tp.rcp.e4 - org.eclipse.equinox.launcher.gtk.hpux.ia64_32 - + + + + - - - org.argeo.tp.rcp.e4 - org.eclipse.ui.carbon - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -281,6 +603,28 @@ org.argeo.eclipse.ui 2.1.76-SNAPSHOT + + org.argeo.commons.rcp + org.argeo.eclipse.ui.rcp + 2.1.76-SNAPSHOT + + + org.argeo.commons + org.argeo.cms.ui + 2.1.76-SNAPSHOT + + + org.argeo.commons + org.argeo.cms.ui.theme + 2.1.76-SNAPSHOT + + + + + org.argeo.commons + org.argeo.cms.e4 + 2.1.76-SNAPSHOT + org.argeo.commons.rcp org.argeo.cms.e4.rcp @@ -301,148 +645,9 @@ org.argeo.commons - org.argeo.dep.cms.sdk + org.argeo.dep.cms.node 2.1.76-SNAPSHOT pom - - - - - - - - - - - - - org.argeo.commons - org.argeo.cms.ui.workbench - - - - org.argeo.commons - org.argeo.eclipse.ui.rap - - - org.argeo.commons - org.argeo.cms.ui.workbench.rap - - - org.argeo.commons - org.argeo.ext.rap.ui.workbench - - - - - org.argeo.tp.rap.e4 - org.eclipse.rap.rwt - - - org.argeo.tp.rap.e4 - org.eclipse.rap.jface - - - org.argeo.tp.rap.e4 - org.eclipse.rap.filedialog - - - org.argeo.tp.rap.e4 - org.eclipse.rap.fileupload - - - org.argeo.tp.rap.e4 - org.eclipse.core.commands - - - - - org.argeo.tp.rap.platform - org.eclipse.rap.ui.forms - - - org.argeo.tp.rap.platform - org.eclipse.rap.rwt - - - org.argeo.tp.rap.platform - org.eclipse.rap.jface - - - org.argeo.tp.rap.platform - org.eclipse.rap.ui - - - org.argeo.tp.rap.platform - org.eclipse.rap.ui.views - - - org.argeo.tp.rap.platform - org.eclipse.rap.ui.workbench - - - org.argeo.tp.rap.platform - org.eclipse.rap.rwt.osgi - - - org.argeo.tp.rap.platform - org.eclipse.rap.jface.databinding - - - org.argeo.tp.rap.platform - org.eclipse.core.jobs - - - org.argeo.tp.rap.platform - org.eclipse.core.expressions - - - org.argeo.tp.rap.platform - org.eclipse.core.databinding.observable - - - org.argeo.tp.rap.platform - org.eclipse.help - - - org.argeo.tp.rap.platform - org.eclipse.core.databinding - - - org.argeo.tp.rap.platform - org.eclipse.core.databinding.beans - - - org.argeo.tp.rap.platform - org.eclipse.core.runtime - - - org.argeo.tp.rap.platform - org.eclipse.core.databinding.property - - - org.argeo.tp.rap.platform - com.ibm.icu.base - - - org.argeo.tp.rap.platform - org.eclipse.core.contenttype - - - org.argeo.tp.rap.platform - org.eclipse.core.commands - - - - - org.argeo.tp.rap.platform - org.eclipse.rap.filedialog - - - org.argeo.tp.rap.platform - org.eclipse.rap.fileupload - - @@ -453,19 +658,44 @@ + + + + org.argeo.tp + argeo-tp-rcp-e4 + ${version.argeo-tp} + import + + + rpmbuild + + maven-assembly-plugin + + + prepare-source + package + + single + + + + a2-source + + + + + org.codehaus.mojo rpm-maven-plugin - - - rpm-node-rcp + rpm-argeo package rpm @@ -474,21 +704,98 @@ argeo-cms-e4-rcp - /usr/share/osgi/rcp + /usr/share/osgi + root + root + 644 + false + + + ${project.build.directory}/${project.artifactId}-${project.version}-a2-source + + **/*.jar + + + + + + + argeo-cms-node + argeo-cms-e4-rcp-tp + + + + + + + + + + rpmbuild-tp + + + + maven-assembly-plugin + + + prepare-source-tp + package + + single + + + + a2-source-tp + + + + + + + org.codehaus.mojo + rpm-maven-plugin + + + rpm-tp + package + + rpm + + + argeo-cms-e4-rcp-tp + ${version.argeo-tp} + + + /usr/share/osgi + root + root + 644 + false + + + ${project.build.directory}/${project.artifactId}-${project.version}-a2-source-tp + + **/*.jar + + + + + + /usr/share/osgi/boot root root 644 false + true - org.argeo.commons.rcp:org.argeo.eclipse.ui.rcp - org.argeo.commons.rcp:org.argeo.cms.e4.rcp + org.argeo.tp.rcp.e4:org.eclipse.equinox.launcher - + argeo-cms-node-tp diff --git a/rcp/dep/pom.xml b/rcp/dep/pom.xml index 70f2532ed..2db2e5026 100644 --- a/rcp/dep/pom.xml +++ b/rcp/dep/pom.xml @@ -13,8 +13,6 @@ org.argeo.dep.cms.e4.rcp - - @@ -39,8 +37,33 @@ + + maven-assembly-plugin + + + org.argeo.commons + assembly-descriptors + 2.1.76-SNAPSHOT + + + + false + + + + + org.argeo.tp.equinox + org.eclipse.osgi + test + + + org.argeo.tp.sdk + org.junit + test + + check-osgi diff --git a/rcp/dist/argeo-companion/rpm/etc/argeo-companion/argeo-companion.ini b/rcp/dist/argeo-companion/rpm/etc/argeo-companion/argeo-companion.ini new file mode 100644 index 000000000..444c39d6c --- /dev/null +++ b/rcp/dist/argeo-companion/rpm/etc/argeo-companion/argeo-companion.ini @@ -0,0 +1,25 @@ +osgi.bundles=org.argeo.osgi.boot@start +osgi.clean=true + +argeo.osgi.start.2.rcp=\ +org.eclipse.core.runtime + +argeo.osgi.start.2.node=\ +org.eclipse.equinox.metatype,\ +org.eclipse.equinox.ds,\ +org.eclipse.equinox.cm,\ + +argeo.osgi.start.3.node=\ +org.argeo.cms + +applicationXMI=org.argeo.cms.e4.rcp/argeo-companion.e4xmi +lifeCycleURI=bundleclass://org.argeo.cms.e4.rcp/org.argeo.cms.e4.rcp.CmsRcpLifeCycle +clearPersistedState=true +#argeo.cms.desktop.inTray=true + +# Remote node: +#argeo.node.repo.labeledUri=http://root:demo@localhost:7070/jcr/node + +log4j.configuration=file:../../log4j.properties +argeo.node.useradmin.uris=os:/// +eclipse.application=org.argeo.cms.e4.rcp.CmsE4Application diff --git a/rcp/dist/argeo-companion/rpm/etc/argeo-companion/log4j.properties b/rcp/dist/argeo-companion/rpm/etc/argeo-companion/log4j.properties new file mode 100644 index 000000000..13f949ff5 --- /dev/null +++ b/rcp/dist/argeo-companion/rpm/etc/argeo-companion/log4j.properties @@ -0,0 +1,32 @@ +log4j.rootLogger=WARN, development + +## Levels +log4j.logger.org.argeo=DEBUG +log4j.logger.org.argeo.jackrabbit.remote.ExtendedDispatcherServlet=WARN +log4j.logger.org.argeo.server.webextender.TomcatDeployer=INFO + +#log4j.logger.org.springframework.security=DEBUG +#log4j.logger.org.apache.commons.exec=DEBUG +#log4j.logger.org.apache.jackrabbit.webdav=DEBUG +#log4j.logger.org.apache.jackrabbit.remote=DEBUG +#log4j.logger.org.apache.jackrabbit.core.observation=DEBUG + +log4j.logger.org.apache.catalina=INFO +log4j.logger.org.apache.coyote=INFO + +log4j.logger.org.apache.directory=INFO +log4j.logger.org.apache.directory.server=ERROR +log4j.logger.org.apache.jackrabbit.core.query.lucene=ERROR + +## Appenders +# console is set to be a ConsoleAppender. +log4j.appender.console=org.apache.log4j.ConsoleAppender + +# console uses PatternLayout. +log4j.appender.console.layout=org.apache.log4j.PatternLayout +log4j.appender.console.layout.ConversionPattern= %-5p %d{ISO8601} %m - %c - [%t]%n + +# development appender (slow!) +log4j.appender.development=org.apache.log4j.ConsoleAppender +log4j.appender.development.layout=org.apache.log4j.PatternLayout +log4j.appender.development.layout.ConversionPattern=%d{HH:mm:ss} [%16.16t] %5p %m (%F:%L) %c%n diff --git a/rcp/dist/argeo-companion/rpm/usr/bin/argeo-companion b/rcp/dist/argeo-companion/rpm/usr/bin/argeo-companion new file mode 100755 index 000000000..ab25dc79e --- /dev/null +++ b/rcp/dist/argeo-companion/rpm/usr/bin/argeo-companion @@ -0,0 +1,54 @@ +#!/bin/sh +APP=argeo-companion + +JVM=java + +# Directories and files +CONF_DIR=/etc/$APP +CONF_DIRS=/etc/$APP/conf.d +BASE_POLICY_ALL=/usr/share/$APP/all.policy +BASE_CONFIG_INI=/usr/share/$APP/config.ini + +EXEC_DIR=$HOME/.local/share/argeo-companion +DATA_DIR=$EXEC_DIR/data +CONF_RW=$EXEC_DIR/state +CONFIG_INI=$CONF_RW/config.ini + +OSGI_INSTALL_AREA=/usr/share/osgi/boot +OSGI_FRAMEWORK=$OSGI_INSTALL_AREA/org.eclipse.osgi.jar +ECLIPSE_LAUNCHER=$OSGI_INSTALL_AREA/org.eclipse.equinox.launcher.jar + +# Overwrite variables +if [ -f $CONF_DIR/settings.sh ];then + . $CONF_DIR/settings.sh +fi + +RETVAL=0 + +start() { + mkdir -p $CONF_RW + mkdir -p $DATA_DIR + + # Merge config files + printf "## Equinox configuration - Generated by /usr/sbin/nodectl ##\n\n" > $CONFIG_INI +# cat $BASE_CONFIG_INI >> $CONFIG_INI + printf "\n##\n## $CONF_DIR/$APP.ini\n##\n\n" >> $CONFIG_INI + cat $CONF_DIR/$APP.ini >> $CONFIG_INI + for file in `ls -v $CONF_DIRS/*.ini`; do + printf "\n##\n## $file\n##\n\n" >> $CONFIG_INI + cat $file >> $CONFIG_INI + done; + +# $JAVA_OPTS -jar $OSGI_FRAMEWORK \ + + cd $EXEC_DIR + $JVM \ + -Dlog4j.configuration="file:$CONF_DIR/log4j.properties" \ + -Dosgi.framework=$OSGI_FRAMEWORK \ + $JAVA_OPTS -classpath $ECLIPSE_LAUNCHER org.eclipse.equinox.launcher.Main \ + -configuration "$CONF_RW" \ + -data "$DATA_DIR" +} + +start +