summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgatherBundles.sh2
-rwxr-xr-xgenRepo.sh14
2 files changed, 2 insertions, 14 deletions
diff --git a/gatherBundles.sh b/gatherBundles.sh
index a811c99..869b9ce 100755
--- a/gatherBundles.sh
+++ b/gatherBundles.sh
@@ -2,7 +2,6 @@
prefix=$ROOT_PREFIX
sdk=$1'-sdk'
-launcher=$1'-launcher'
repo=$1
eclipse=$prefix$(rpm --eval '%{_libdir}')/eclipse
@@ -10,7 +9,6 @@ eclipse=$prefix$(rpm --eval '%{_libdir}')/eclipse
datadir=$prefix/usr/share/eclipse
javadir=$prefix/usr/share/java
jnidir=$prefix/usr/lib/java
-tycho_bundles_external=/usr/share/java/tycho/tycho-bundles-external.zip
mkdir -p $sdk/plugins $sdk/features
pushd $sdk
diff --git a/genRepo.sh b/genRepo.sh
index 6fc92da..0673bd0 100755
--- a/genRepo.sh
+++ b/genRepo.sh
@@ -2,22 +2,12 @@
prefix=$ROOT_PREFIX
sdk=$1'-sdk'
-launcher=$1'-launcher'
repo=$1
-tycho_bundles_external=/usr/share/java/tycho/tycho-bundles-external.zip
-
-# use the bundled equinox launcher to publish the p2 repo
-mkdir -p $launcher
-pushd $launcher
-unzip $tycho_bundles_external
-
-java -jar eclipse/plugins/org.eclipse.equinox.launcher_*.jar -nosplash -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher \
+java -jar /usr/lib*/eclipse/plugins/org.eclipse.equinox.launcher_*.jar -nosplash -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher \
-metadataRepository file:$repo \
-artifactRepository file:$repo \
-source $sdk \
-compress -append -publishArtifacts
-popd
-
-rm -rf $sdk $launcher
+rm -rf $sdk