Re: "Slimming"/Downsize Orbeon.war for Separate Deployment with Portlets
Posted by Karolin Heiss on
URL: https://discuss.orbeon.com/Slimming-Downsize-Orbeon-war-for-Separate-Deployment-with-Portlets-tp3166132p3171875.html
Hey Erik
The original Orbeon.war is 50'882 KB my slimmed Orbeon.war 35'592 KB. But still, using Orbeon.war in separate deployment Orbeon is still very big and lots of resources are loaded which I doubt are needed?!
batik-all-1_6.jar
---------------
Without batik-all-1_6.jar Orbeon.war doesn't deploy any more in Liferay 6.0.5 Portal.
I wonder if it’s really necessary and why Orbeon includes batik-all in stet of the specific batik jars? Because some batik jars are often already included in separate deployment. (batik-xml.jar, batik-util.jar ...)
Orbeon jars versions
-------------------
I guess its due to Orbeon was not designed for separate deployment that official jars are complied in a special Orbeon version? Lots of this jars I could remove because they are already included in Liferay Portal but with an other version.
xerces-xercesImpl-2_9_orbeon_20070711.jar
exist-modules-1_2_6_orbeon_20090702.jar
xerces-serializer-2_9_orbeon_20070711.jar
msv-xsdlib-20070407_orbeon_20100309.jar
msv-20081113_orbeon_20081209.jar
flyingsaucer-core-renderer_orbeon_20100512.jar
exist-ngram-module-1_2_6_orbeon_20090702.jar
antlr-2_7_4_orbeon.jar
xerces-resolver-2_9_orbeon_20070711.jar
saxpath-dev_orbeon.jar
saxon-9-1-0-8_orbeon_20101223.jar
jakarta-oro-2_0_8_orbeon.jar
exist-optional-1_2_6_orbeon_20090702.jar
exist-1_2_6_orbeon_20090702.jar
Orbeon jars
-----------
I wonder if Orbeon jars itself like the big orbeon-resources-public.jar can get slimmed. There are lots of resources I doubt are really needed like:
orbeon-resources-public.jar\ops\firebug\
orbeon-resources-public.jar\ops\unit-tests\
orbeon-resources-public.jar\ops\yui\examples\
orbeon-resources-public.jar\ops\yui\yahoo\
orbeon-resources-public.jar\ops\yui\yahoo-dom-event\
orbeon-resources-public.jar\ops\yui\yuitest\
.....
I know that depending on the system where Orbeon is integrated some jars can get removed or not.
I appreciate your help very much to
Cheers
Karolin