You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jason Warner (JIRA)" <ji...@apache.org> on 2007/06/06 20:49:26 UTC

[jira] Created: (GERONIMO-3217) J2G Conversion Tool: Descriptors subtool appends to the openejb-jar.xml file instead of overwriting.

J2G Conversion Tool:  Descriptors subtool appends to the openejb-jar.xml file instead of overwriting.
-----------------------------------------------------------------------------------------------------

                 Key: GERONIMO-3217
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3217
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: J2G
            Reporter: Jason Warner
            Assignee: Jason Warner


An openejb-jar.xml file is created from the exisiting JBoss xml files when the descriptor tool is run.  This openejb-jar.xml should be deleted and remade each time the descriptor tool is run.  As it is now, the tool appends the new xml data into existing elements resulting in an xml that is invalid due to duplicate entries.

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


[jira] Updated: (GERONIMO-3217) J2G Conversion Tool: Descriptors subtool appends to the openejb-jar.xml file instead of overwriting.

Posted by "Jason Warner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Warner updated GERONIMO-3217:
-----------------------------------

    Attachment: Geronimo-3217.patch

CMPDescriptorTool.java has been changed to check for an existing openejb-jar.xml.  If it finds an existing file, it is deleted to avoid the issue.

> J2G Conversion Tool:  Descriptors subtool appends to the openejb-jar.xml file instead of overwriting.
> -----------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3217
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3217
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: J2G
>            Reporter: Jason Warner
>            Assignee: Jason Warner
>         Attachments: Geronimo-3217.patch
>
>
> An openejb-jar.xml file is created from the exisiting JBoss xml files when the descriptor tool is run.  This openejb-jar.xml should be deleted and remade each time the descriptor tool is run.  As it is now, the tool appends the new xml data into existing elements resulting in an xml that is invalid due to duplicate entries.

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


[jira] Resolved: (GERONIMO-3217) J2G Conversion Tool: Descriptors subtool appends to the openejb-jar.xml file instead of overwriting.

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods resolved GERONIMO-3217.
------------------------------------

    Resolution: Fixed

Committed revision 544932 in sandbox.

> J2G Conversion Tool:  Descriptors subtool appends to the openejb-jar.xml file instead of overwriting.
> -----------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3217
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3217
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: J2G
>            Reporter: Jason Warner
>            Assignee: Jason Warner
>         Attachments: Geronimo-3217.patch
>
>
> An openejb-jar.xml file is created from the exisiting JBoss xml files when the descriptor tool is run.  This openejb-jar.xml should be deleted and remade each time the descriptor tool is run.  As it is now, the tool appends the new xml data into existing elements resulting in an xml that is invalid due to duplicate entries.

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