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

[jira] Created: (GERONIMODEVTOOLS-579) java specs are not included into G server runtime by default

java specs are not included into G server runtime by default
------------------------------------------------------------

                 Key: GERONIMODEVTOOLS-579
                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-579
             Project: Geronimo-Devtools
          Issue Type: Bug
          Components: eclipse-plugin
    Affects Versions: 2.2.0
         Environment: os:win2003
            Reporter: viola.lu
            Assignee: Tim McConnell
            Priority: Minor


1.Create a web dynamic project ,and add <%@ taglib uri="http://java.sun.com/jsf/core" prefix='f' %> to a jsp file
2.But can't recognize this taglib

In $GEPsrc\plugins\org\apache\geronimo\st\core\GeronimoServerRuntimeTargetHandler.java file, no support for 2.2 target runtime, so myface spec, javamail spec .... are not included by default.

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


[jira] Updated: (GERONIMODEVTOOLS-579) java specs are not included into G server runtime by default

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

Delos Dai updated GERONIMODEVTOOLS-579:
---------------------------------------

    Attachment: 579.patch

Seems some dependencies included in server runtime are missing, when you create a JEE project. I have added the missing packages for 2.2 server adapter. Maybe there will be some update of the server runtime dependencies, if server 2.2 has some new lib packages added.

Attachment is the patch. Could anyone help to review it?

Thanks!

> java specs are not included into G server runtime by default
> ------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-579
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-579
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.2.0
>         Environment: os:win2003
>            Reporter: viola.lu
>            Assignee: Tim McConnell
>            Priority: Minor
>         Attachments: 579.patch
>
>
> 1.Create a web dynamic project ,and add <%@ taglib uri="http://java.sun.com/jsf/core" prefix='f' %> to a jsp file
> 2.But can't recognize this taglib
> In $GEPsrc\plugins\org\apache\geronimo\st\core\GeronimoServerRuntimeTargetHandler.java file, no support for 2.2 target runtime, so myface spec, javamail spec .... are not included by default.

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


[jira] Resolved: (GERONIMODEVTOOLS-579) java specs are not included into G server runtime by default

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

Delos Dai resolved GERONIMODEVTOOLS-579.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0
                   2.1.5

revision #810806 for trunk; revision  #810827 for 2.1.5 branch.



> java specs are not included into G server runtime by default
> ------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-579
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-579
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.2.0
>         Environment: os:win2003
>            Reporter: viola.lu
>            Assignee: Tim McConnell
>            Priority: Minor
>             Fix For: 2.1.5, 2.2.0
>
>         Attachments: 579.patch
>
>
> 1.Create a web dynamic project ,and add <%@ taglib uri="http://java.sun.com/jsf/core" prefix='f' %> to a jsp file
> 2.But can't recognize this taglib
> In $GEPsrc\plugins\org\apache\geronimo\st\core\GeronimoServerRuntimeTargetHandler.java file, no support for 2.2 target runtime, so myface spec, javamail spec .... are not included by default.

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


[jira] Commented: (GERONIMODEVTOOLS-579) java specs are not included into G server runtime by default

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

Ted Kirby commented on GERONIMODEVTOOLS-579:
--------------------------------------------

Delos, I am not following the first part of the patch.  Is this what you want:

public String getClasspathContainerLabel(IRuntime runtime) {
        String version = runtime.getRuntimeType().getVersion();
        if (version.equals("2.0")) {
            return Messages.target20runtime;
        }
        if (version.equals("2.1")) {
            return Messages.target21runtime;
        }
        return Messages.target22runtime;
}

> java specs are not included into G server runtime by default
> ------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-579
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-579
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.2.0
>         Environment: os:win2003
>            Reporter: viola.lu
>            Assignee: Tim McConnell
>            Priority: Minor
>         Attachments: 579.patch
>
>
> 1.Create a web dynamic project ,and add <%@ taglib uri="http://java.sun.com/jsf/core" prefix='f' %> to a jsp file
> 2.But can't recognize this taglib
> In $GEPsrc\plugins\org\apache\geronimo\st\core\GeronimoServerRuntimeTargetHandler.java file, no support for 2.2 target runtime, so myface spec, javamail spec .... are not included by default.

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


[jira] Closed: (GERONIMODEVTOOLS-579) java specs are not included into G server runtime by default

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

viola.lu closed GERONIMODEVTOOLS-579.
-------------------------------------


Fixed in latest build.Close it.

> java specs are not included into G server runtime by default
> ------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-579
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-579
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.2.0
>         Environment: os:win2003
>            Reporter: viola.lu
>            Assignee: Tim McConnell
>            Priority: Minor
>             Fix For: 2.1.5, 2.2.0
>
>         Attachments: 579.patch
>
>
> 1.Create a web dynamic project ,and add <%@ taglib uri="http://java.sun.com/jsf/core" prefix='f' %> to a jsp file
> 2.But can't recognize this taglib
> In $GEPsrc\plugins\org\apache\geronimo\st\core\GeronimoServerRuntimeTargetHandler.java file, no support for 2.2 target runtime, so myface spec, javamail spec .... are not included by default.

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


[jira] Commented: (GERONIMODEVTOOLS-579) java specs are not included into G server runtime by default

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

Delos Dai commented on GERONIMODEVTOOLS-579:
--------------------------------------------

Sorry, Ted, I just want to add version compare for 2.2 here. It should be:

 public String getClasspathContainerLabel(IRuntime runtime) {
        String version = runtime.getRuntimeType().getVersion();
        if (version.equals("2.0")) {
            return Messages.target20runtime;
        }
        else if (version.equals("2.1")) {
            return Messages.target21runtime;
        }if (version.equals("2.2")) {
            return Messages.target22runtime;
        }
        return Messages.target22runtime;
    }

Thanks for your help!


> java specs are not included into G server runtime by default
> ------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-579
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-579
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.2.0
>         Environment: os:win2003
>            Reporter: viola.lu
>            Assignee: Tim McConnell
>            Priority: Minor
>         Attachments: 579.patch
>
>
> 1.Create a web dynamic project ,and add <%@ taglib uri="http://java.sun.com/jsf/core" prefix='f' %> to a jsp file
> 2.But can't recognize this taglib
> In $GEPsrc\plugins\org\apache\geronimo\st\core\GeronimoServerRuntimeTargetHandler.java file, no support for 2.2 target runtime, so myface spec, javamail spec .... are not included by default.

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