Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[stp-dev] Service creation: supported version of Apache CXF

I would only change description and name :)

If you would like to change id and version, it would require more changes (hope I did not miss anything :) ) :

1. plugin.xml for org.eclipse.stp.sc.cxf plugin
 <supportedRuntime
            maxVersion="2.0"
            minVersion="2.0"
            type="org.eclipse.stp.soas.deploy.runtime.cxf.20">
  </supportedRuntime>

2. In org.eclipse.stp.soas.deploy.runtime.cxf plugin do the following changes:

2.a In org.eclipse.stp.soas.deploy.runtime.cxf.core.internal.CxfRuntimeLocator change value for the 'runtimeTypes'
accordingly

2.b In org.eclipse.stp.soas.deploy.runtime.cxf.ui.internal.CxfRuntimeComposite change constant value for CXF_RUNTIME_ID accordingly

2.c In org.eclipse.stp.soas.deploy.runtime.cxf.CxfRuntimePlugin change CXF_VERSION_2_0 value. Ideally yu should change constant name, it seems used only in CxfRuntimePlugin.getCxfVersionHandler() call

2.d In plugin.xml for org.eclipse.stp.soas.deploy.runtime.cxf
Several extention points uses id, typeIds and version
    <extension
         point="org.eclipse.wst.server.ui.serverImages">
      <image
            icon="icons/obj16/cxf.gif"
           
id="org.eclipse.stp.soas.deploy.runtime.cxf.20"
           
typeIds="org.eclipse.stp.soas.deploy.runtime.cxf.20">
      </image>
   </extension>

   <extension
         point="org.eclipse.wst.server.ui.wizardFragments">
      <fragment
            class="org.eclipse.stp.soas.deploy.runtime.cxf.ui.internal.CxfRuntimeWizardFragment"
           
id="org.eclipse.stp.soas.deploy.runtime.cxf.20"
           
typeIds="org.eclipse.stp.soas.deploy.runtime.cxf.20">
      </fragment>
   </extension>

   <extension
         point="org.eclipse.jst.server.core.runtimeFacetMappings">
      <runtimeFacetMapping
            runtime-component="org.eclipse.stp.soas.deploy.runtime.cxf"
         
   runtimeTypeId="org.eclipse.stp.soas.deploy.runtime.cxf.20"
            version="2.0">
      </runtimeFacetMapping>
   </extension>

   <extension
         point="org.eclipse.stp.sc.common.ExtRuntimeProcessor">
      <processor
            class="org.eclipse.stp.soas.deploy.runtime.cxf.core.internal.CxfExtRuntimeProcessor"
           
runtimeTypeID="org.eclipse.stp.soas.deploy.runtime.cxf.20">
      </processor>
   </extension>
 
    <extension
          point="org.eclipse.stp.soas.deploy.core.deploymentExtension">
       <packageConstructor
             class="org.eclipse.stp.soas.deploy.tomcat.WarDeployFilePackageConstructor"
             id="org.eclipse.stp.soas.deploy.tomcat.warPackageConstructor"
             label="Tomcat">
          <supportedTechnology
                maxVersion="2.0"            
!!! Not sure about version here
                minVersion="2.0"              !!! Not sure about version here
                type="stp.jaxws.component">
          </supportedTechnology>
          <supportedServer
                maxVersion="5.5"
                minVersion="5.5"
                type="org.eclipse.jst.server.tomcat.55">
          </supportedServer>
          <supportedRuntime
               
maxVersion="2.0"
                minVersion="2.0"
                type="org.eclipse.stp.soas.deploy.runtime.cxf">
          </supportedRuntime>
          <supportedServer
                maxVersion="6.0"
                minVersion="6.0"
                type="org.eclipse.jst.server.tomcat.60">
          </supportedServer>
       </packageConstructor>
    </extension>

      <packageConstructor
            class="org.eclipse.stp.soas.deploy.runtime.cxf.internal.simplefrontend.SimplePackageConstructor"
            id="org.eclipse.stp.sc.cxf.buildpackage.SimplePackageConstructor"
            label="WarPackageConstructorForSimpleFrontend">
         <supportedTechnology
               maxVersion="2.1"
               minVersion="2.1"
               type="stp.cxf.simplefrontend">
         </supportedTechnology>
         <supportedServer
               maxVersion="5.5"
               minVersion="5.5"
               type="org.eclipse.jst.server.tomcat.55">
         </supportedServer>
         <supportedRuntime
           
    maxVersion="2.0"
               minVersion="2.0"
               type="org.eclipse.stp.soas.deploy.runtime.cxf">
         </supportedRuntime>
         <supportedServer
               maxVersion="6.0"
               minVersion="6.0"
               type="org.eclipse.jst.server.tomcat.60">
         </supportedServer>
      </packageConstructor>



Irene


-----Original Message-----
From: stp-dev-bounces@xxxxxxxxxxx [mailto:stp-dev-bounces@xxxxxxxxxxx] On Behalf Of stp-dev-request@xxxxxxxxxxx
Sent: Tuesday, June 03, 2008 12:00 PM
To: stp-dev@xxxxxxxxxxx
Subject: stp-dev Digest, Vol 30, Issue 1

Send stp-dev mailing list submissions to
        stp-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.eclipse.org/mailman/listinfo/stp-dev
or, via email, send a message with subject or body 'help' to
        stp-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
        stp-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than "Re: Contents of stp-dev digest..."


Today's Topics:

   1. Service creation: supported version of Apache CXF (Porter, David)


----------------------------------------------------------------------

Message: 1
Date: Tue, 3 Jun 2008 09:32:40 -0400
From: "Porter, David" <David.Porter@xxxxxxxx>
Subject: [stp-dev] Service creation: supported version of Apache CXF
To: "STP Dev list" <stp-dev@xxxxxxxxxxx>
Message-ID:
        <EA599E5F0604FA4DA06605CAD2AA436C311F81@xxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

It's my understanding that STP 1.0 supports Apache CXF 2.1, but not CXF 2.0.

However, the New Server Runtime Environment dialog (called from SOA Tools preferences) lists Apache CXF 2.0. This is confusing.

I'd like to update the following snippet in the org.eclipse.stp.soas.deploy.runtime.cxf\plugin.xml to show CXF 2.1 instead of 2.0.

<runtimeType

class="org.eclipse.stp.soas.deploy.runtime.cxf.core.internal.CxfRuntime"

description="Apache CXF 2.0 supports JAX-WS 2.0"

id="org.eclipse.stp.soas.deploy.runtime.cxf.20"

name="Apache CXF 2.0"

vendor="Apache"

vendorId="Apache"

version="2.0">


I feel comfortable changing the description and name attributes, but is it OK to change version also? What about id?

----------------------------
IONA Technologies PLC (registered in Ireland) Registered Number: 171387 Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://dev.eclipse.org/mailman/private/stp-dev/attachments/20080603/7d706076/attachment.html

------------------------------

_______________________________________________
stp-dev mailing list
stp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/stp-dev


End of stp-dev Digest, Vol 30, Issue 1
**************************************


Back to the top