Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
View | Details | Raw Unified | Return to bug 183499
Collapse All | Expand All

(-)ruby.railsprojects/src/org/netbeans/modules/ruby/railsprojects/RailsActionProvider.java (+14 lines)
 Lines 651-656    Link Here 
651
    }
651
    }
652
    
652
    
653
    private void runServer(String path, final boolean serverDebug, final boolean clientDebug) {
653
    private void runServer(String path, final boolean serverDebug, final boolean clientDebug) {
654
        final String outputWindowId = "output"; //NOI18N
655
        TopComponent outputWindow = WindowManager.getDefault().findTopComponent(outputWindowId);
656
        // outputWindow should not be null as the output window id is not likely to change, but
657
        // checking for null anyway since we are not relying on an API.
658
        if (outputWindow != null) {
659
            if (!outputWindow.isOpened()) {
660
                outputWindow.open();
661
            }
662
            outputWindow.requestActive();
663
            outputWindow.toFront();
664
        } else {
665
            LOGGER.info("Could not find the output window using id " + outputWindowId);
666
        }
667
654
        RailsServerManager server = project.getLookup().lookup(RailsServerManager.class);
668
        RailsServerManager server = project.getLookup().lookup(RailsServerManager.class);
655
        if (server != null) {
669
        if (server != null) {
656
            server.setDebug(serverDebug);
670
            server.setDebug(serverDebug);

Return to bug 183499
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo