[ 
https://issues.apache.org/jira/browse/CXF-901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Yu updated CXF-901:
------------------------

    Attachment: cxf-901.patch

With this patch, we are able to build 2 flavours WAR. one is full WAR, which 
included all the jars in $WAR/WEB-INF/lib, the other is the minimum WAR that 
did not include any jars.

by default, we generate the full WAR, I've tested this WAR against TOMCAT and 
JBOSS, both worked fine, just simply copy the full WAR to the deploy folder.

> Update "WAR" building for full war
> ----------------------------------
>
>                 Key: CXF-901
>                 URL: https://issues.apache.org/jira/browse/CXF-901
>             Project: CXF
>          Issue Type: Sub-task
>          Components: Samples
>    Affects Versions: 2.1
>            Reporter: Jeff Yu
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: cxf-901.patch
>
>
> It will be different from what we have now, I would like to pack all
> the required jars to $WAR/WEB-INF/lib folder, and then generate a WAR,
> so if you want to deploy it to containers, what you need to do is to
> copy the WAR to the container's deploy folder. you can see details in
> this thread:
> http://www.nabble.com/How-to-deploy-to-JBoss--tf4210975.html#a11978522
> For tomcat container, if you set the CATALINA_HOME, and then you run:
> "ant deploy-tomcat" , it will copy the generated war to the
> $CATALINA_HOME/webapps/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to