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 78760 - Each project run creates new output tab
Summary: Each project run creates new output tab
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: BlueJ (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-21 12:28 UTC by Marian Mirilovic
Modified: 2006-06-27 10:19 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 Marian Mirilovic 2006-06-21 12:28:42 UTC
NetBeans 5.0 BlueJ edition 200601251500 
JDK 1.5.0_06

Steps to reproduce:
- run IDE
- create Main class
- run project
-> each run creates new output tab
Comment 1 Milos Kleint 2006-06-22 11:02:03 UTC
the output tabs are created in an ant task.
to do that we would require some local caching of tabs and keeping track of the
used ones.
Jesse, where is the ant module code that does this caching? can it be reused?
Comment 2 Jesse Glick 2006-06-22 21:50:52 UTC
TargetExecutor, and no.
Comment 3 Milos Kleint 2006-06-23 10:45:15 UTC
done, basically copy and pasted the idea.
Comment 4 Marian Mirilovic 2006-06-27 10:06:48 UTC
Milos, 
now it works much better, but in comparison with standard NB edition you are
opening separate tabs for System.out and output from ant, I am not sure it's
intentional or not. 
In case there is some System.out I would prefer to stay this tab selected after
finishing the run.
Comment 5 Milos Kleint 2006-06-27 10:16:35 UTC
Marian: yes, separate tab for program output and ant output is intentional.
I'd rather have the program output tab selected as well, but unfortunately the
ant tab selection is hardwired in the ant module and we cannot change it in the
bluej edition.
Comment 6 Marian Mirilovic 2006-06-27 10:19:24 UTC
Milos,
thanks for explanation - verified in NB-bluej(20060627)