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.

Bug 43001

Summary: Prevent build output tabs proliferation
Product: projects Reporter: jrojcek <jrojcek>
Component: AntAssignee: Jesse Glick <jglick>
Status: CLOSED FIXED    
Severity: blocker CC: dkonecny
Priority: P3 Keywords: UI
Version: 4.x   
Hardware: All   
OS: All   
URL: http://projects.netbeans.org/nonav/buildsys/build-sys-ui-spec.html#Build_Output
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41835    

Description jrojcek 2004-05-10 14:38:22 UTC
Build output tabs should be reused by build actions.
Comment 1 Jesse Glick 2004-05-10 16:55:30 UTC
I will deal with this.
Comment 2 Jesse Glick 2004-05-10 16:59:34 UTC
I will impl issue #42972 which is similar to this, then make the
default "on".

I would suggest however that the build tab show the script name and
target name that it is running rather than the generic "Build" (which
anyway looks strange if you are running, debugging, etc.).
Comment 3 Jesse Glick 2004-05-12 01:25:36 UTC
*** Issue 42972 has been marked as a duplicate of this issue. ***
Comment 4 Jesse Glick 2004-05-12 04:26:08 UTC
Fixed together with #19929.

committed   * Up-To-Date  1.14       
ant/src-bridge/org/apache/tools/ant/module/bridge/impl/BridgeImpl.java
committed   * Up-To-Date  1.4        
ant/src-bridge/org/apache/tools/ant/module/bridge/impl/Bundle.properties
committed   * Up-To-Date  1.6        
ant/src-bridge/org/apache/tools/ant/module/bridge/impl/NbBuildLogger.java
committed   * Up-To-Date  1.23       
ant/src/org/apache/tools/ant/module/AntSettings.java
committed   * Up-To-Date  1.14       
ant/src/org/apache/tools/ant/module/AntSettingsBeanInfo.java
committed   * Up-To-Date  1.21       
ant/src/org/apache/tools/ant/module/Bundle.properties
committed   * Up-To-Date  1.5        
ant/src/org/apache/tools/ant/module/bridge/BridgeInterface.java
committed   * Up-To-Date  1.5        
ant/src/org/apache/tools/ant/module/bridge/DummyBridgeImpl.java
committed   * Up-To-Date  1.20       
ant/src/org/apache/tools/ant/module/run/Bundle.properties
committed   * Up-To-Date  1.41       
ant/src/org/apache/tools/ant/module/run/TargetExecutor.java
Comment 5 jrojcek 2004-05-12 10:17:37 UTC
I thought it wasn't possible to change the name of already open output tab. Having some 
info about the build process in output tab is better. Will update the spec.
Comment 6 Jesse Glick 2004-05-12 21:12:08 UTC
You can't change the name of an open tab. This patch reuses an
existing dead tab if it can find one with the correct name. All other
dead tabs are closed when the new build is started. I don't know, try
it for a while, I think it works well. You should not see >1 tab
unless you are running >1 process at once; and dead tabs are
"collected" when you start new builds, but not before.
Comment 7 Jesse Glick 2004-05-12 21:12:39 UTC
BTW I just removed the checkbox "Reuse Output Tab" in Ant Settings.
Don't think it's necessary any more.
Comment 8 Marian Mirilovic 2005-12-20 15:47:38 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.