[jsword-devel] Upgrading 3-rd party jars

DM Smith dmsmith at crosswire.org
Tue Nov 30 14:47:03 MST 2010


I'm in the process of upgrading 3-rd party jars. Still in process, doing 
one at a time.

As a result, we are at Java 5.

So far the jars were a drop in replacement, except for 
commons-httpclient. If you are keeping your own installation of jars, 
you'll need to remove commons-httpclient from it and add 
httpclient-1.4-beta1.jar and httpcore-1.4.jar.

Also, any direct use of WebResource will need to call shutdown on it to 
free up OS resources.

As in:
WebResource wr = new WebResource(.....);
... do stuff ....
wr.shutdown();

Previously each WebResource was good for only one request against an 
URL. Now you can call getSize and getLastModified and copy on the same 
WebResource.

Also, getSize now returns long.

In Him,
     DM



More information about the jsword-devel mailing list