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 257905
Collapse All | Expand All

(-)a/maven/src/org/netbeans/modules/maven/execute/OutputTabMaintainer.java (-1 / +3 lines)
Lines 135-141 Link Here
135
        }
135
        }
136
        //                }
136
        //                }
137
        if (io == null) {
137
        if (io == null) {
138
            io = IOProvider.getDefault().getIO(name, createNewTabActions());
138
            // if you explicitly request terminal, then you need to be ready
139
            // for IOFolding not supported.
140
            io = IOProvider.get("Terminal").getIO(name, createNewTabActions());
139
            io.setInputVisible(true);
141
            io.setInputVisible(true);
140
        }
142
        }
141
        return io;
143
        return io;
(-)a/maven/src/org/netbeans/modules/maven/execute/cmd/ExecutionEventObject.java (-8 / +9 lines)
Lines 200-214 Link Here
200
            }
200
            }
201
            
201
            
202
            parentProject = findParentNodeOfType(ExecutionEvent.Type.ProjectStarted);
202
            parentProject = findParentNodeOfType(ExecutionEvent.Type.ProjectStarted);
203
            if (parentProject == null) {
203
            if (IOFolding.isSupported(io)) {
204
                
204
                if (parentProject == null) {
205
                this.foldHandle = IOFolding.startFold(io, true);
205
                        this.foldHandle = IOFolding.startFold(io, true);
206
            } else {
206
                } else {
207
                if (parentProject.foldHandle == null) {
207
                    if (parentProject.foldHandle == null) {
208
                    parentProject.startFold(io);
208
                        parentProject.startFold(io);
209
                    }
210
                    assert parentProject.foldHandle != null;
211
                    this.foldHandle = parentProject.foldHandle.silentStartFold(true);
209
                }
212
                }
210
                assert parentProject.foldHandle != null;
211
                this.foldHandle = parentProject.foldHandle.silentStartFold(true);
212
            }
213
            }
213
        }
214
        }
214
215

Return to bug 257905