From: Tuukka Lehtonen Date: Sun, 20 Nov 2016 20:20:22 +0000 (+0200) Subject: Added publish.sh script for generating P2 metadata for a set of bundles X-Git-Tag: v1.25.0~9 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=7b3829478906cf974d16bc1ee6925df9288ef9b2;p=simantics%2Fthird-party.git 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 --- 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