summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2018-05-15 17:58:44 -0400
committerStephan Herrmann2018-05-15 17:58:44 -0400
commit6f33783065ca7d40e03f82b91ed729a8d13a775c (patch)
treed270ac8ec5369478d9710452bd2e556faf0c010a
parent48f5a9c03f915e0e722d65e8fc3a5f783b0df7fd (diff)
downloadorg.eclipse.objectteams-6f33783065ca7d40e03f82b91ed729a8d13a775c.tar.gz
org.eclipse.objectteams-6f33783065ca7d40e03f82b91ed729a8d13a775c.tar.xz
org.eclipse.objectteams-6f33783065ca7d40e03f82b91ed729a8d13a775c.zip
Releng: new signing impl after Bug 521263 - Terminate CLI signing
service (aka /usr/bin/sign) - try to fix condition/sign/pack sequence
-rwxr-xr-xreleng/build-scripts/bin/createRepository-hipp.sh20
1 files changed, 14 insertions, 6 deletions
diff --git a/releng/build-scripts/bin/createRepository-hipp.sh b/releng/build-scripts/bin/createRepository-hipp.sh
index c92d7ab59..f179641f5 100755
--- a/releng/build-scripts/bin/createRepository-hipp.sh
+++ b/releng/build-scripts/bin/createRepository-hipp.sh
@@ -99,15 +99,23 @@ echo "LAUNCHER_PATH = ${LAUNCHER_PATH}"
echo "NAME = ${NAME}"
echo "====Step 0: condition jars ===="
-for dir in ${BASE}/testrun/updateSite/features ${BASE}/testrun/updateSite/plugins
+CONDITIONED=${BASE}/testrun/updateSiteRepack
+if [ ! -d ${CONDITIONED} ]
+then
+ mkdir ${CONDITIONED}
+else
+ /bin/rm -r ${CONDITIONED}/*
+fi
+
+for dir in features plugins
do
- find ${dir} -type f -name \*.jar -exec \
- ${JAVA8}/bin/java -jar ${JARPROCESSOR} -verbose -processAll -repack -outputDir ${dir} {} \;
+ find ${BASE}/testrun/updateSite/${dir} -type f -name \*.jar -exec \
+ ${JAVA8}/bin/java -jar ${JARPROCESSOR} -verbose -processAll -repack -outputDir ${CONDITIONED}/${dir} {} \;
done
echo "====Step 1: request signing and zip===="
-cd ${BASE}/testrun/updateSite
-JARS=`find . -type f -name \*.jar -o -name \*.jar.pack.gz`
+cd ${CONDITIONED}
+JARS=`find . -type f -name \*.jar
OTDTJAR=${BASE}/testrun/otdt.jar
if [ "${SIGN}" == "nosign" ]
then
@@ -120,7 +128,7 @@ else
then
mkdir ${SIGNED}
else
- /bin/rm -rf ${SIGNED}/*
+ /bin/rm -r ${SIGNED}/*
fi
for JAR in ${JARS}
do