Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.x
-
None
-
Patch Available
Description
Replace:
console=Geronimo Console
consoleTooltip=Apache Geronimo Console
with:
console=
{0} ConsoleconsoleTooltip={0}
Console
in eclipse-plugin\plugins\org.apache.geronimo.st.ui\src\org\apache\geronimo\st\ui\internal\Messages.properties, and allow the server name to be determined by server.getName().
This allows for an extensible approach, for servers based on Geronimo. No change is required to support other servers.
In this particular case, plugins\org.apache.geronimo.st.ui\src\org\apache\geronimo\st\ui\actions\LaunchGeronimoConsoleAction.G_SERVER_PREFIX is hard-coded to "org.apache.geronimo". It would be nice if this could be paramterized in some fashion to avoid having to replace the class in its entirety, just to change this value to determine if the "Launch
{ServerName}Console" menu item should be activated.