[
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Forrest Xia closed GERONIMODEVTOOLS-728.
----------------------------------------
Assignee: Han Hong Fang
Verified on GEP build 20110705, and it's fixed, so close it.
> The original geronimo deployment plan will be cleaned when importing an
> existing EAR project
> --------------------------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-728
> URL:
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-728
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 3.0
> Environment: helios jee sr1
> Reporter: Forrest Xia
> Assignee: Han Hong Fang
> Fix For: 3.0-M2, 3.0
>
> Attachments: corbahellobean_ejb_ear.ear
>
>
> 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>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira