Geronimo-Devtools
  1. Geronimo-Devtools
  2. GERONIMODEVTOOLS-728

The original geronimo deployment plan will be cleaned when importing an existing EAR project

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0-M2, 3.0
    • Component/s: eclipse-plugin
    • Labels:
      None
    • Environment:
      helios jee sr1

      Description

      When importing an existing EAR into eclipse, if selecting geronimo server as the target runtime, the original geronimo deployment descriptor will be flushed.

      For example, the plan in the ear file is like this:
      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
      license agreements. See the NOTICE file distributed with this work for additional
      information regarding copyright ownership. The ASF licenses this file to
      you under the Apache License, Version 2.0 (the "License"); you may not use
      this file except in compliance with the License. You may obtain a copy of
      the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
      by applicable law or agreed to in writing, software distributed under the
      License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
      OF ANY KIND, either express or implied. See the License for the specific
      language governing permissions and limitations under the License. -->
      <ejb:openejb-jar
      xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
      xmlns:bp="http://www.osgi.org/xmlns/blueprint/v1.0.0"
      xmlns:client="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0"
      xmlns:conn="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
      xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2" xmlns:ejb="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
      xmlns:jaspi="http://geronimo.apache.org/xml/ns/geronimo-jaspi"
      xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-2.0"
      xmlns:name="http://geronimo.apache.org/xml/ns/naming-1.2" xmlns:ns5="http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0"
      xmlns:pers="http://java.sun.com/xml/ns/persistence" xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1"
      xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1">
      <dep:environment>
      <dep:moduleId>
      <dep:groupId>default</dep:groupId>
      <dep:artifactId>corbahellobean_ejb</dep:artifactId>
      <dep:version>1.0</dep:version>
      <dep:type>car</dep:type>
      </dep:moduleId>
      </dep:environment>
      <ejb:enterprise-beans>
      <ejb:session>
      <ejb:ejb-name>HelloEJBRemote</ejb:ejb-name>
      <ejb:jndi-name>HelloEJBRemote</ejb:jndi-name>
      <ejb:tss-link>IOR3</ejb:tss-link>
      </ejb:session>
      </ejb:enterprise-beans>
      </ejb:openejb-jar>

      After import, the deployment descriptor will be flushed like this:
      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <ejb:openejb-jar
      xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
      xmlns:bp="http://www.osgi.org/xmlns/blueprint/v1.0.0"
      xmlns:client="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0"
      xmlns:conn="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
      xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2" xmlns:ejb="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
      xmlns:jaspi="http://geronimo.apache.org/xml/ns/geronimo-jaspi"
      xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-2.0"
      xmlns:name="http://geronimo.apache.org/xml/ns/naming-1.2" xmlns:ns5="http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0"
      xmlns:pers="http://java.sun.com/xml/ns/persistence" xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1"
      xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1">
      <dep:environment>
      <dep:moduleId>
      <dep:groupId>default</dep:groupId>
      <dep:artifactId>corbahellobean_ejb</dep:artifactId>
      <dep:version>1.0</dep:version>
      <dep:type>car</dep:type>
      </dep:moduleId>
      </dep:environment>
      </ejb:openejb-jar>

        Activity

        Forrest Xia created issue -
        Forrest Xia made changes -
        Field Original Value New Value
        Attachment corbahellobean_ejb_ear.ear [ 12474373 ]
        Han Hong Fang made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.0-M2 [ 12316071 ]
        Fix Version/s 3.0 [ 12314732 ]
        Forrest Xia made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Han Hong Fang [ hanhongfang ]

          People

          • Assignee:
            Han Hong Fang
            Reporter:
            Forrest Xia
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development