[jira] Commented: (GERONIMODEVTOOLS-579) java specs are not included into G server runtime by default
[ 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.
[jira] Commented: (GERONIMODEVTOOLS-579) java specs are not included into G server runtime by default
[ 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.