Skip to content

Commit 7f7b9ff

Browse files
committed
Added JNLP codebase replacement for issue #74
1 parent a439f84 commit 7f7b9ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

travis/update_website.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ mkdir -p ./assets/java/${FOLDER}/webstart
5959
cp -Rf ${TRAVIS_BUILD_DIR}/build/webstart/jar/* ./assets/java/${FOLDER}/webstart
6060
cp -Rf ${TRAVIS_BUILD_DIR}/build/webstart/jnlp/* ./assets/java/${FOLDER}/webstart
6161

62+
# Replace the empty codebase attribute with the fully qualified Web Start path.
63+
sed -i -- "s codebase=\"\" codebase=\"https://worldwind.arc.nasa.gov/java/${FOLDER}/webstart/\" g" ./assets/java/${FOLDER}/webstart/*.jnlp
64+
6265
# Commit and push the changes (quietly)
6366
git add -f .
6467
git commit -m "Updated assets from successful travis build $TRAVIS_BUILD_NUMBER in $TRAVIS_BRANCH"

0 commit comments

Comments
 (0)