This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 229988
Collapse All | Expand All

(-)a/maven.j2ee/src/org/netbeans/modules/maven/j2ee/utils/MavenProjectSupport.java (+4 lines)
Lines 114-119 Link Here
114
        // We know server instance which should be assigned to the project
114
        // We know server instance which should be assigned to the project
115
        if (instanceID != null && serverID == null) {
115
        if (instanceID != null && serverID == null) {
116
            assignServer(project, instanceID, initContextPath);
116
            assignServer(project, instanceID, initContextPath);
117
118
        // We know both server name and server ID, just do the same as above
119
        } else if (instanceID != null && serverID != null) {
120
            assignServer(project, instanceID, initContextPath);
117
            
121
            
118
        // We don't know anything which means we want to assign <No Server> value to the project
122
        // We don't know anything which means we want to assign <No Server> value to the project
119
        } else if (instanceID == null && serverID == null) {
123
        } else if (instanceID == null && serverID == null) {

Return to bug 229988