Author Component Applet - Required Libraries

Oxygen general issues.
david.badger
Posts: 25
Joined: Tue Feb 25, 2014 12:14 am

Author Component Applet - Required Libraries

Post by david.badger »

Hi,

We're using version 16 of the applet with the DITA customization, and are attempting to shorten the overall load time. To this end, is there any information you can provide as to which jar files referenced by the JNLP are purely optional, framework-specific, or OS-specific?

I know that the JNLP in version 15 of the applet had each set of jars labelled (i.e. "for linux vs. OSX vs. Win"), but the included libraries in version 16 seem to have been changed for the most part.

I've been able to remove the nekohtml, truezip, httpclient, httpcore, and fop jars, but any additional information you could provide would be really helpful.

Thanks!
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Author Component Applet - Required Libraries

Post by Radu »

Hi David,

The httpclient, fop and truezip libraries can indeed be removed.
The neko library is useful for a feature called Smart Paste which attempts to convert content pasted from Office applications and web browsers to the target XML vocabulary. We provide this support out of the box for Docbook and DITA so if you use a custom vocabulary you can remove the library.
You can also remove the Batik libraries if your clients are not referring to SVG images in the content.
You should also try to remove the icu4j library as well.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
david.badger
Posts: 25
Joined: Tue Feb 25, 2014 12:14 am

Re: Author Component Applet - Required Libraries

Post by david.badger »

Hi Radu,

Thanks for the information. I was able to remove references to the FOP, truezip, httpclient, icu4j, and batik jars (we're not using SVG graphics) from the JNLP.

However, removing all of the batik jars caused an error - apparently the org.w3c.dom.ElementTraversal class located in batik-ext-1.7.jar is still needed. I left that jar in and removed the rest of the batik jars, and it appears to be working correctly. Overall we saved around 17MB of downloads for the applet.

Thanks,

Dave
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Author Component Applet - Required Libraries

Post by Radu »

Hi Dave,

Great, that particular class org.w3c.dom.ElementTraversal should also be in the xml-apis.jar which should remain referenced in the JNLP (and instead you can remove the batik-ext jar).

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply