From d4f8161d2be8a59f7a33b1705696d005465848c0 Mon Sep 17 00:00:00 2001 From: dchandler Date: Fri, 25 Oct 2002 11:56:38 +0000 Subject: [PATCH] At Edward's request, the codebase for Java Web Start releases may now be specified on the command line via 'ant -Djnlp.codebase="http://foo.bar/baz"'. This means that dist/ no longer contains .jnlp files; they are created by Ant instead. --- htdocs/BuildSystems.html | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/htdocs/BuildSystems.html b/htdocs/BuildSystems.html index 1d24663..6978a9e 100644 --- a/htdocs/BuildSystems.html +++ b/htdocs/BuildSystems.html @@ -827,8 +827,16 @@ module

- Now run 'ant -Dkeystore=foo -Dkeystore.password=foo - -Ddgkey.password=foo -Dkey.alias=foo program-jws', + Now run +

+
ant -Dkeystore="file:///c:/thdl/sandboxes/Jskad/your.keystore"
+    -Dkeystore.password=baz
+    -Ddgkey.password=foo
+    -Dkey.alias="Johnny Developer"
+    -Djnlp.codebase="http://your.web.server/THDL_STUFF"
+    program-jws'
+
+

where program is one of jskad, tt, savant, or qd. This cleans first, so your changes will be respected. This then creates a WAR file @@ -869,11 +877,11 @@ module If you're deploying to a plain-vanilla web server, first ensure that its MIME type associations are correct (see above). Now ignore the .war - file and copy the appropriate .jnlp file(s) from - Jskad/dist/ to the webserver, and copy the appropriate - JAR(s) from Jskad/dist/java-web-start/ to the - webserver. Those two files are all you need, but you must edit the - .jnlp file appropriately for your webserver. + file and copy the appropriate .jnlp file(s) and the + appropriate JAR(s) from Jskad/dist/java-web-start/ to + the webserver. Those two files are all you need, and you don't need + to edit the .jnlp file because you specified the + jnlp.codebase property.