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

Joe Walker jsword-devel@crosswire.org
Thu, 04 Mar 2004 08:22:50 +0000


DM Smith wrote:

> 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">

Thanks,

I was hoping that there would be no absolute paths, so we could use a 
jnlp file in place of a bat/sh file.

However as you say this is useful for testing.
I'll put the above in build.xml I think.

Joe.