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 58513 - Change default behavior of OW display when running Ant scripts
Summary: Change default behavior of OW display when running Ant scripts
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 19631 58894 (view as bug list)
Depends on: 63332
Blocks: 87801
  Show dependency tree
 
Reported: 2005-05-03 09:32 UTC by Jindrich Dinga
Modified: 2006-10-23 18:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Dinga 2005-05-03 09:32:33 UTC
According the ui spec
http://ui.netbeans.org/docs/ui/progress_indication/
progress_indication_spec.html#5_behaviour_of_tasks
and our off-line discussion the "Output" window will appear only when
1. Any hyperlink (either warning or error) is printed; or
2. An input field is requested.

One switch (e.g. Show output window) with two values (1. default, 2.always) can be added to the 
Options
Comment 1 Jesse Glick 2005-05-14 22:00:15 UTC
*** Issue 58894 has been marked as a duplicate of this issue. ***
Comment 2 Jesse Glick 2005-05-14 22:00:39 UTC
Also need to register task in Progress API.
Comment 3 Jesse Glick 2005-08-26 22:11:28 UTC
Working on it.
Comment 4 Jesse Glick 2005-08-26 23:25:50 UTC
committed   * Up-To-Date  1.23        ant/nbproject/project.xml
committed   * Up-To-Date  1.28       
ant/src-bridge/org/apache/tools/ant/module/bridge/impl/BridgeImpl.java
committed   * Up-To-Date  1.17       
ant/src-bridge/org/apache/tools/ant/module/bridge/impl/NbBuildLogger.java
committed   * Up-To-Date  1.5        
ant/src-bridge/org/apache/tools/ant/module/bridge/impl/NbInputHandler.java
committed   * Up-To-Date  1.4        
ant/src/org/apache/tools/ant/module/AntCustomizer.java
committed   * Up-To-Date  1.30       
ant/src/org/apache/tools/ant/module/AntSettings.java
committed   * Up-To-Date  1.27       
ant/src/org/apache/tools/ant/module/Bundle.properties
committed   * Up-To-Date  1.8        
ant/src/org/apache/tools/ant/module/bridge/BridgeInterface.java
committed   * Up-To-Date  1.10       
ant/src/org/apache/tools/ant/module/bridge/DummyBridgeImpl.java
committed   * Up-To-Date  1.49       
ant/src/org/apache/tools/ant/module/run/TargetExecutor.java
committed   * Up-To-Date  1.37       
core/output2/src/org/netbeans/core/output2/Controller.java
committed   * Up-To-Date  1.183       ide/golden/deps.txt
Comment 5 Antonin Nebuzelsky 2005-08-30 10:19:51 UTC
Looks great. Thanks, Jesse!
Comment 6 Jesse Glick 2005-08-30 21:31:41 UTC
BTW there are two "notes" in

http://ui.netbeans.org/docs/ui/progress_indication/progress_indication_spec.html#5_behaviour_of_tasks

which I cannot decipher, so if these are still important, please rephrase
clearly and explicitly and file bugs for me and I might have time to implement
the changes.
Comment 7 Milan Kubec 2005-08-31 08:03:43 UTC
IMO having progress bar runing from right to left and back constantly during Ant
task is running is not very good UI design, because if user starts application
and the application is running the running progress bar only distracts user from
paying attention to the running application.
Comment 8 Jiri Skrivanek 2005-08-31 10:18:29 UTC
I agree with Milan Kubec. The similar situation arise when debugger stops at
breakpoint (issue 63332).
Comment 9 Jindrich Dinga 2005-08-31 14:38:12 UTC
I agree with you, that showing indefinite progress bar during running an application is very disturbing. 
But we did not want to have this behavior. All we wanted was, that progress bar will appear only during 
the building, not running an application.

Jesse, is it possible to fix this?

If not, I would suggest reverting this behavior to the last one.
Comment 10 Jesse Glick 2005-08-31 17:35:10 UTC
This was fixed as requested, so please use issue #63332 for any further requests
once you figure out what you want.

There is no essential difference between "building" and "running" an
application.  Particular project types could provide hints to Ant about how a
given Ant process should be handled in the UI in case it is started via an
ActionProvider (rather than e.g. directly from build.xml); this is covered by
issue #43072, an API enhancement request which would require cooperation from
every Ant-based project type.
Comment 11 Jesse Glick 2005-12-15 17:17:25 UTC
*** Issue 19631 has been marked as a duplicate of this issue. ***