Amit Gadkari created MECLIPSE-722:
-------------------------------------

             Summary: Add support for Websphere 8.0
                 Key: MECLIPSE-722
                 URL: https://jira.codehaus.org/browse/MECLIPSE-722
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
          Components: M2Eclipse support, WTP support
    Affects Versions: 2.9
            Reporter: Amit Gadkari


Current code in workspaceconfiguration.java needs to be modified for adding 
support for websphere 8.0
Add if condition 
 if ( getDefaultDeployServerId().indexOf( "v8" ) >= 0 )
            {
                return "8.0";
            }

 
WorkspaceConfiguration.java

   * @return the defined websphere server version and null if the target is no 
websphere.
     */
    public String getWebsphereVersion()
    {
        if ( getDefaultDeployServerId() != null && 
getDefaultDeployServerId().startsWith( "was." ) )
        {
            if ( getDefaultDeployServerId().indexOf( "v7" ) >= 0 )
            {
                return "7.0";
            }
            if ( getDefaultDeployServerId().indexOf( "v61" ) >= 0 )
            {
                return "6.1";
            }
            if ( getDefaultDeployServerId().indexOf( "v6" ) >= 0 )
            {
                return "6.0";
            }
            if ( getDefaultDeployServerId().indexOf( "v51" ) >= 0 )
            {
                return "5.1";
            }
            if ( getDefaultDeployServerId().indexOf( "v5" ) >= 0 )
            {
                return "5.0";
            }
        }
        return null;
    }



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to