summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:13:31 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:13:31 +0000
commitb94a18ee847e9d26e2748460d0218ddc7b075c3b (patch)
tree4fe6796399f05004f13f5ec49f834adb53d20f50
parentb77ecbea0eaf4ebaa6d5f7a4be8cc35a4d9e2f13 (diff)
downloadpdf-over-b94a18ee847e9d26e2748460d0218ddc7b075c3b.tar.gz
pdf-over-b94a18ee847e9d26e2748460d0218ddc7b075c3b.tar.bz2
pdf-over-b94a18ee847e9d26e2748460d0218ddc7b075c3b.zip
Set Context URL separately
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@205 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
-rw-r--r--pdf-over-gui/src/main/jnlp/pdfover.jnlp2
-rwxr-xr-xpublish.sh10
2 files changed, 4 insertions, 8 deletions
diff --git a/pdf-over-gui/src/main/jnlp/pdfover.jnlp b/pdf-over-gui/src/main/jnlp/pdfover.jnlp
index b098cd93..8ac6ca0c 100644
--- a/pdf-over-gui/src/main/jnlp/pdfover.jnlp
+++ b/pdf-over-gui/src/main/jnlp/pdfover.jnlp
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<jnlp spec="1.0+" codebase="##CODEBASE_URL##" context="##CODEBASE_URL##" href="pdfover.jnlp">
+<jnlp spec="1.0+" codebase="##CODEBASE_URL##" context="##CONTEXT_URL##" href="pdfover.jnlp">
<information>
<title>PDFOver</title>
diff --git a/publish.sh b/publish.sh
index 0311caa8..4fc0a417 100755
--- a/publish.sh
+++ b/publish.sh
@@ -5,6 +5,7 @@ PUBLISH_DIR="pub"
LOG_DIR="log"
VERSION="4.0.0-SNAPSHOT"
CODEBASE_URL="http:\/\/10.27.152.123\/pdfover\/"
+CONTEXT_URL="http:\/\/10.27.152.123\/pdfover\/"
HOMEPAGE_URL="http:\/\/www.buergerkarte.at"
@@ -29,7 +30,7 @@ for (( i = 0 ; i < ${#names[@]} ; i++ )) do
RETVAL=$?
[ $RETVAL -eq 0 ] && echo "[OK]"
[ $RETVAL -ne 0 ] && echo "[!FAILED!]" && continue
-
+
echo -n "Moving Installer ... "
mv ./pdf-over-gui/target/$TARGET_FILE $PUBLISH_DIR/$INSTALLER
RETVAL=$?
@@ -46,7 +47,7 @@ if [ $RETVAL -ne 0 ]; then
else
sed -i "s/##CODEBASE_URL##/$CODEBASE_URL/g" $PUBLISH_DIR/pdfover.jnlp
RETVAL=$?
- if [ $RETVAL -ne 0 ]; then
+ if [ $RETVAL -ne 0 ]; then
echo "[!FAILED!]"
else
sed -i "s/##HOMEPAGE_URL##/$HOMEPAGE_URL/g" $PUBLISH_DIR/pdfover.jnlp
@@ -58,8 +59,3 @@ else
fi
fi
fi
-
-
-
-
-