You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "liangkun (JIRA)" <ji...@apache.org> on 2009/08/19 07:37:14 UTC

[jira] Created: (GERONIMODEVTOOLS-587) Using GEP to convert an application to a plugin, if add prerequisite module,will encouter an error when install the plugin

Using GEP to convert an application to a plugin, if add prerequisite module,will encouter an error when install the plugin
--------------------------------------------------------------------------------------------------------------------------

                 Key: GERONIMODEVTOOLS-587
                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-587
             Project: Geronimo-Devtools
          Issue Type: Bug
          Components: eclipse-plugin
    Affects Versions: 2.2.0
         Environment: windows xp sp3
jdk IBM 1.6
eclipse 3.5
            Reporter: liangkun
            Assignee: Tim McConnell


1.Start a G server2.2 in eclipse using GEP.
2.Double click the server and click the plugin button.
3.Click the Convert Apps to Plugins button and create a Geronimo Plugin. 
4.Choose the destination of the export plugin and an application want to be converted the click the next button.
5.You will see the page"updating plugin information ",click the next button.
6.In the next page ,click button add to add the  prerequisite module, you can try any prerequisite module which exists in the server.Please leave the version blank.Then click the next.
7.You will find the plugin at the destination you just choose.Install the plugin you will get the output that the prerequisite module can not be found.

Check the file Geronimo-plugin.xml and you will find that the version of the prerequisite module is <ns2:version/>,that is the key why there is no the module and actually if you want to install the plugin you can just delete the <ns2:version/>.

By the way ,when I finish converting  an application to a plugin,I can still click next button,at the beginning I thought the process is not finished but actually it is done and this is a new process of converting.
So,if the last button can be set  to finish button that will be fine.


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


[jira] Commented: (GERONIMODEVTOOLS-587) Using GEP to convert an application to a plugin, if add prerequisite module,will encouter an error when install the plugin

Posted by "liangkun (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744954#action_12744954 ] 

liangkun commented on GERONIMODEVTOOLS-587:
-------------------------------------------

Hi,Rodger,
Thanks and I will try the next build which adds your patch.

> Using GEP to convert an application to a plugin, if add prerequisite module,will encouter an error when install the plugin
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-587
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-587
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.2.0
>         Environment: windows xp sp3
> jdk IBM 1.6
> eclipse 3.5
>            Reporter: liangkun
>            Assignee: Tim McConnell
>         Attachments: gep_587.patch
>
>
> 1.Start a G server2.2 in eclipse using GEP.
> 2.Double click the server and click the plugin button.
> 3.Click the Convert Apps to Plugins button and create a Geronimo Plugin. 
> 4.Choose the destination of the export plugin and an application want to be converted the click the next button.
> 5.You will see the page"updating plugin information ",click the next button.
> 6.In the next page ,click button add to add the  prerequisite module, you can try any prerequisite module which exists in the server.Please leave the version blank.Then click the next.
> 7.You will find the plugin at the destination you just choose.Install the plugin you will get the output that the prerequisite module can not be found.
> Check the file Geronimo-plugin.xml and you will find that the version of the prerequisite module is <ns2:version/>,that is the key why there is no the module and actually if you want to install the plugin you can just delete the <ns2:version/>.
> By the way ,when I finish converting  an application to a plugin,I can still click next button,at the beginning I thought the process is not finished but actually it is done and this is a new process of converting.
> So,if the last button can be set  to finish button that will be fine.

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


[jira] Updated: (GERONIMODEVTOOLS-587) Using GEP to convert an application to a plugin, if add prerequisite module,will encouter an error when install the plugin

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

Rodger Zhang updated GERONIMODEVTOOLS-587:
------------------------------------------

    Attachment: gep_587.patch

I add a patch to fix the problem. However, it seems there are more potential same problems like
===================================
if(!"".equals(version.getText()))
            artType.setVersion(version.getText());
===================================
Furthermore, if we could treat <version/> the same as no version element in components about deployment and resolve dependency in geronimo.
Or meet one then fix one.

> Using GEP to convert an application to a plugin, if add prerequisite module,will encouter an error when install the plugin
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-587
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-587
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.2.0
>         Environment: windows xp sp3
> jdk IBM 1.6
> eclipse 3.5
>            Reporter: liangkun
>            Assignee: Tim McConnell
>         Attachments: gep_587.patch
>
>
> 1.Start a G server2.2 in eclipse using GEP.
> 2.Double click the server and click the plugin button.
> 3.Click the Convert Apps to Plugins button and create a Geronimo Plugin. 
> 4.Choose the destination of the export plugin and an application want to be converted the click the next button.
> 5.You will see the page"updating plugin information ",click the next button.
> 6.In the next page ,click button add to add the  prerequisite module, you can try any prerequisite module which exists in the server.Please leave the version blank.Then click the next.
> 7.You will find the plugin at the destination you just choose.Install the plugin you will get the output that the prerequisite module can not be found.
> Check the file Geronimo-plugin.xml and you will find that the version of the prerequisite module is <ns2:version/>,that is the key why there is no the module and actually if you want to install the plugin you can just delete the <ns2:version/>.
> By the way ,when I finish converting  an application to a plugin,I can still click next button,at the beginning I thought the process is not finished but actually it is done and this is a new process of converting.
> So,if the last button can be set  to finish button that will be fine.

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


[jira] Resolved: (GERONIMODEVTOOLS-587) Using GEP to convert an application to a plugin, if add prerequisite module,will encouter an error when install the plugin

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

Delos Dai resolved GERONIMODEVTOOLS-587.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0
                   2.1.5


resolve it with  	#812396 for trunk and #812398 for 2.1.5 branch.

Thanks Rodger for the patch!

> Using GEP to convert an application to a plugin, if add prerequisite module,will encouter an error when install the plugin
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-587
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-587
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.2.0
>         Environment: windows xp sp3
> jdk IBM 1.6
> eclipse 3.5
>            Reporter: liangkun
>            Assignee: Tim McConnell
>             Fix For: 2.1.5, 2.2.0
>
>         Attachments: gep_587.patch
>
>
> 1.Start a G server2.2 in eclipse using GEP.
> 2.Double click the server and click the plugin button.
> 3.Click the Convert Apps to Plugins button and create a Geronimo Plugin. 
> 4.Choose the destination of the export plugin and an application want to be converted the click the next button.
> 5.You will see the page"updating plugin information ",click the next button.
> 6.In the next page ,click button add to add the  prerequisite module, you can try any prerequisite module which exists in the server.Please leave the version blank.Then click the next.
> 7.You will find the plugin at the destination you just choose.Install the plugin you will get the output that the prerequisite module can not be found.
> Check the file Geronimo-plugin.xml and you will find that the version of the prerequisite module is <ns2:version/>,that is the key why there is no the module and actually if you want to install the plugin you can just delete the <ns2:version/>.
> By the way ,when I finish converting  an application to a plugin,I can still click next button,at the beginning I thought the process is not finished but actually it is done and this is a new process of converting.
> So,if the last button can be set  to finish button that will be fine.

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


[jira] Commented: (GERONIMODEVTOOLS-587) Using GEP to convert an application to a plugin, if add prerequisite module,will encouter an error when install the plugin

Posted by "Delos Dai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752391#action_12752391 ] 

Delos Dai commented on GERONIMODEVTOOLS-587:
--------------------------------------------

I think "treat <version/> the same as no version element " should be implemented in G server. For GEP, we have to fix one once we meet one.

I found another problem of this wizard. In Prerequisite wizard, all the text blank can be empty. It's not reasonable, since only version and description can be empty. So with the patch from Rodger, we also need to disable "Finish" button unless "group","artifact","type" are all filled in with characters.

> Using GEP to convert an application to a plugin, if add prerequisite module,will encouter an error when install the plugin
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-587
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-587
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.2.0
>         Environment: windows xp sp3
> jdk IBM 1.6
> eclipse 3.5
>            Reporter: liangkun
>            Assignee: Tim McConnell
>         Attachments: gep_587.patch
>
>
> 1.Start a G server2.2 in eclipse using GEP.
> 2.Double click the server and click the plugin button.
> 3.Click the Convert Apps to Plugins button and create a Geronimo Plugin. 
> 4.Choose the destination of the export plugin and an application want to be converted the click the next button.
> 5.You will see the page"updating plugin information ",click the next button.
> 6.In the next page ,click button add to add the  prerequisite module, you can try any prerequisite module which exists in the server.Please leave the version blank.Then click the next.
> 7.You will find the plugin at the destination you just choose.Install the plugin you will get the output that the prerequisite module can not be found.
> Check the file Geronimo-plugin.xml and you will find that the version of the prerequisite module is <ns2:version/>,that is the key why there is no the module and actually if you want to install the plugin you can just delete the <ns2:version/>.
> By the way ,when I finish converting  an application to a plugin,I can still click next button,at the beginning I thought the process is not finished but actually it is done and this is a new process of converting.
> So,if the last button can be set  to finish button that will be fine.

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