[jsword-devel] How to use a local JNLP for installation

DM Smith jsword-devel@crosswire.org
Wed, 03 Mar 2004 12:27:05 -0500


1) Create (reuse) a directory for the jnlp file and all the signed jars that 
are mentioned in it.
    I put a jnlp directory on my Windows desktop.

2) Copy all the signed jars into that directory.
    To create the signed jars, I loaded the project from CVS into Eclipse
    and then ran the jnlp target in the build.xml file.
    The signed jars are under jsword/target/ant/web/jnlp.

3) Copy the JNLP file into the directory.
    The jsword.jnlp file is under the same jsword/.../jnlp directory.

4) Edit the JNLP file changing the codebase in the jnlp tag to the url of 
the directory.
    Mine looks like: (Note, I used forward slashes, even though I am on 
Windows.)
    <jnlp spec="1.0+"
            codebase="file:///e:/Documents and Settings/DM/Desktop/jnlp"
            href="jsword.jnlp">

Since I am in Windows, I double click on the jsword.jnlp file and voila, it 
installs.

I have j2sdk1.4.2_03 installed. So I am using the WebStart that came with 
that.

_________________________________________________________________
Get business advice and resources to improve your work life, from bCentral. 
http://special.msn.com/bcentral/loudclear.armx