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.
This commit is contained in:
parent
38e6504d0d
commit
d4f8161d2b
1 changed files with 15 additions and 7 deletions
|
@ -827,8 +827,16 @@ module<a name="daytoday"></a></h4>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Now run <code>'ant -Dkeystore=foo -Dkeystore.password=foo
|
Now run
|
||||||
-Ddgkey.password=foo -Dkey.alias=foo <i>program</i>-jws'</code>,
|
</p>
|
||||||
|
<blockquote><code>ant -Dkeystore="file:///c:/thdl/sandboxes/Jskad/your.keystore"<br>
|
||||||
|
-Dkeystore.password=baz<br>
|
||||||
|
-Ddgkey.password=foo<br>
|
||||||
|
-Dkey.alias="Johnny Developer"<br>
|
||||||
|
-Djnlp.codebase="http://your.web.server/THDL_STUFF"<br>
|
||||||
|
<i>program</i>-jws'</code>
|
||||||
|
</blockquote>
|
||||||
|
<p>
|
||||||
where <i>program</i> is one of <code>jskad</code>, <code>tt</code>,
|
where <i>program</i> is one of <code>jskad</code>, <code>tt</code>,
|
||||||
<code>savant</code>, or <code>qd</code>. This cleans first, so your
|
<code>savant</code>, or <code>qd</code>. This cleans first, so your
|
||||||
changes will be respected. This then creates a WAR file
|
changes will be respected. This then creates a WAR file
|
||||||
|
@ -869,11 +877,11 @@ module<a name="daytoday"></a></h4>
|
||||||
If you're deploying to a plain-vanilla web server, first ensure that
|
If you're deploying to a plain-vanilla web server, first ensure that
|
||||||
its MIME type associations are correct (see <a
|
its MIME type associations are correct (see <a
|
||||||
href="#webstartserver">above</a>). Now ignore the <code>.war</code>
|
href="#webstartserver">above</a>). Now ignore the <code>.war</code>
|
||||||
file and copy the appropriate <code>.jnlp</code> file(s) from
|
file and copy the appropriate <code>.jnlp</code> file(s) and the
|
||||||
<code>Jskad/dist/</code> to the webserver, and copy the appropriate
|
appropriate JAR(s) from <code>Jskad/dist/java-web-start/</code> to
|
||||||
JAR(s) from <code>Jskad/dist/java-web-start/</code> to the
|
the webserver. Those two files are all you need, and you don't need
|
||||||
webserver. Those two files are all you need, but you must edit the
|
to edit the <code>.jnlp</code> file because you specified the
|
||||||
<code>.jnlp</code> file appropriately for your webserver.
|
<code>jnlp.codebase</code> property.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in a new issue