From 7b3829478906cf974d16bc1ee6925df9288ef9b2 Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Sun, 20 Nov 2016 22:20:22 +0200 Subject: [PATCH] Added publish.sh script for generating P2 metadata for a set of bundles The P2 repository generated will be published at http://www.simantics.org/download/external-components/manual. Also added composite P2 repository descriptors that will be published at http://www.simantics.org/download//external-components/. This composite repository includes both the previously mentioned manual direcotry and its sibling P2 repository called maven. refs #6813 Change-Id: Id7b0f66bb00c2569cd4f2a959585cc048dd3a63a --- compositeArtifacts.xml | 12 ++++++++++++ compositeContent.xml | 12 ++++++++++++ publish.sh | 11 +++++++++++ 3 files changed, 35 insertions(+) create mode 100644 compositeArtifacts.xml create mode 100644 compositeContent.xml create mode 100755 publish.sh diff --git a/compositeArtifacts.xml b/compositeArtifacts.xml new file mode 100644 index 0000000..ea6bdd6 --- /dev/null +++ b/compositeArtifacts.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/compositeContent.xml b/compositeContent.xml new file mode 100644 index 0000000..acf6766 --- /dev/null +++ b/compositeContent.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/publish.sh b/publish.sh new file mode 100755 index 0000000..1001ee4 --- /dev/null +++ b/publish.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +if [ $# -lt 2 ]; then + echo "usage: $0 " + exit 1 +fi + +ECLIPSE=$1 +REPO=$2 + +"${ECLIPSE}" -noupdate -nosplash -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadataRepository file:/${REPO} -artifactRepository file:/${REPO} -source ${REPO} -compress -publishArtifacts -- 2.47.1