diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-06 17:49:53 +0100 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-06 17:49:53 +0100 |
commit | b9d9b6aa9d3150971be627f6a7f2736e06a5d5c0 (patch) | |
tree | 004601abee9f09f7ec6759ea38c4a0197b797979 /trunk | |
parent | ea264ec18205f2767d04166b8ebe643d94a29ad7 (diff) | |
download | pdf-over-b9d9b6aa9d3150971be627f6a7f2736e06a5d5c0.tar.gz pdf-over-b9d9b6aa9d3150971be627f6a7f2736e06a5d5c0.tar.bz2 pdf-over-b9d9b6aa9d3150971be627f6a7f2736e06a5d5c0.zip |
Set Context URL separately
Diffstat (limited to 'trunk')
-rw-r--r-- | trunk/pdf-over-gui/src/main/jnlp/pdfover.jnlp | 2 | ||||
-rwxr-xr-x | trunk/publish.sh | 10 |
2 files changed, 4 insertions, 8 deletions
diff --git a/trunk/pdf-over-gui/src/main/jnlp/pdfover.jnlp b/trunk/pdf-over-gui/src/main/jnlp/pdfover.jnlp index b098cd93..8ac6ca0c 100644 --- a/trunk/pdf-over-gui/src/main/jnlp/pdfover.jnlp +++ b/trunk/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/trunk/publish.sh b/trunk/publish.sh index 0311caa8..4fc0a417 100755 --- a/trunk/publish.sh +++ b/trunk/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 - - - - - |