WorkspaceConfiguration should accept servers with the "wps." prefix for
WebSphere Process Server when calculating the WebSphere version
---------------------------------------------------------------------------------------------------------------------------------------
Key: MECLIPSE-510
URL: http://jira.codehaus.org/browse/MECLIPSE-510
Project: Maven 2.x Eclipse Plugin
Issue Type: Bug
Components: Core : Workspace settings
Affects Versions: 2.5.1
Reporter: Dan Sullivan
Attachments: wps_prefix.patch
Currently, the WorkspaceConfiguration only considers servers that start with
"was." as WebSphere servers when calculating the WebSphere version. It should
also accept the "wps." prefix, used for WebSphere Process Server.
{code}
public String getWebsphereVersion()
{
- if ( getDefaultDeployServerId() != null &&
getDefaultDeployServerId().startsWith( "was." ) )
+ if ( getDefaultDeployServerId() != null && (
+ getDefaultDeployServerId().startsWith( "was." ) ||
+ getDefaultDeployServerId().startsWith( "wps." )))
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira