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.
}
private void runServer(String path, final boolean serverDebug, final boolean clientDebug) {
final String outputWindowId = "output"; //NOI18N
TopComponent outputWindow = WindowManager.getDefault().findTopComponent(outputWindowId);
// outputWindow should not be null as the output window id is not likely to change, but
// checking for null anyway since we are not relying on an API.
if (outputWindow != null) {
if (!outputWindow.isOpened()) {
outputWindow.open();
outputWindow.requestActive();
outputWindow.toFront();
} else {
LOGGER.info("Could not find the output window using id " + outputWindowId);
RailsServerManager server = project.getLookup().lookup(RailsServerManager.class);
if (server != null) {
server.setDebug(serverDebug);