Re: "Slimming"/Downsize Orbeon.war for Separate Deployment with Portlets

Posted by Erik Bruchez on
URL: https://discuss.orbeon.com/Slimming-Downsize-Orbeon-war-for-Separate-Deployment-with-Portlets-tp3166132p3167738.html

Karolin,

There are probably more JARs that can be removed. We should make such
an official list today.

You might not need ant, batik, barcode, pdfbox, and there might be a
couple others.

(Ideally the dependencies between Orbeon Forms "components" should be
made clearer, but we haven't gotten to that yet.)

-Erik

On Tue, Dec 28, 2010 at 8:14 AM, Karolin Krieg <[hidden email]> wrote:

>
> Hey Separate-Deployment-with-Portlets-Developers
>
> I am happy to see that more and more people work with Orbeon in Separate
> Deployment with Portlets.
> For me it works fine with Liferay 6.0.5 and a pritty new Orbeon nightly
> build.
>
> Orbeon.war includes to much resources which are not needed for separate
> deployment with portlets. Does anybody has experiences with "Slimming" the
> big fat Orbeon.war? - specially with Liferay?
>
> I have my own batch which kicks out resources I don't need. But still, the
> Orbeon.war needs to much resources I think.
>
> Cheers Karolin
>
>
> =====================================
> unzip orbeon.war -d \orbeon
>
> cd WEB-INF
> Del jonas-web.xml
> Del sun-web.xml
> Del weblogic.xml
> Del commons-cli-1_0.jar
>
> REM delete Orbeon xForms test portlet
> Del liferay-display.xml
> Del liferay-portlet.xml
> Del portlet.xml
>
> REM delete xForms portlet samples
> Del *.xml
> cd resources
> rmdir /S /Q apps
> rmdir /S /Q forms
> Del *.xml
>
> REM Delete jar files we already loaded through our portal
> cd lib
> Del log4j*.jar
> Del xerces-resolver*.jar
> Del xerces-serializer*.jar
> Del xerces-xml-apis*.jar
> REM xerces-xercesImpl-2_9_orbeon_20070711.jar -> needed by Orbeon!!
> Del commons-beanutils-1_5.jar
> Del commons-codec-1_3.jar
> Del commons-collections-3_1.jar
> Del commons-lang-2_3.jar
> Del commons-logging-1_0_4.jar
> Del commons-pool-1.3.jar
> REM Del dom4j-1_6_1.jar(Specification-Version: 5.1.0.GA dom4j.jar)
> Del commons-io-1_1.jar
> Del commons-fileupload-1.2.1.jar
>
> REM Delete this jars if you don't use PDF stuff with xForms
> Del flyingsaucer-20100212-itext-2_1_7.jar
> Del flyingsaucer-core-renderer_orbeon_20100512.jar
> Del itext-bcmail-jdk14-138.jar
> Del itext-bcprov-jdk14-138.jar
> Del pdfbox-0_7_1.jar
>
> cd ..\..
> REM delete xForms portlet sample for release
> rmdir /S /Q xforms-jsp
>
> Move orbeon.war orbeon-original.war
>
> zip -r -9 orbeon.war WEB-INF
>
> rmdir /S /Q xforms-jsp
> rmdir /S /Q WEB-INF
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Slimming-Downsize-Orbeon-war-for-Separate-Deployment-with-Portlets-tp3166132p3166132.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws