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 211462 - Option to not reuse output tabs from finished Maven processes
Summary: Option to not reuse output tabs from finished Maven processes
Status: RESOLVED DUPLICATE of bug 200026
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.1.1
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords: UI
Depends on:
Blocks: 89160
  Show dependency tree
 
Reported: 2012-04-19 14:01 UTC by superole2
Modified: 2013-03-14 12:56 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description superole2 2012-04-19 14:01:07 UTC
unchecking the option "Reuse Output Tabs from Finished Processes" on the Ant-tab of Tools->Options seems to have no effect. Finished Processes' Tabs are still reused causing output to be lost.
For me this makes it cumbersome to work with multiple projects.
I describe a typical scenario here: 
http://netbeans.org/bugzilla/show_bug.cgi?id=89160#c2
And if I cannot get that feature I would at least want the option to have manual handling of the tabs.
Comment 1 Petr Somol 2012-04-23 08:39:14 UTC
I checked this in 7.1.2. and 7.2.dev and in both cases it worked as expected. With "Reuse Output Tabs from Finished Processes" switch on, the output of Clean, Build, or Run processes replaces Output window contents. With "Reuse Output Tabs from Finished Processes" switched off, each Clean, Build, or Run on any project opens a separate new tab under the Output window, preserving the existing tabs unchanged.
Can you give us more details about what exactly does not work ? Are you working on Java projects with Ant-based build infrastructure ?
Comment 2 Marian Mirilovic 2012-04-25 10:59:14 UTC
(In reply to comment #1)
> Can you give us more details about what exactly does not work ? Are you working
> on Java projects with Ant-based build infrastructure ?

Incomplete
Comment 3 superole2 2012-04-26 10:16:05 UTC
(In reply to comment #1)
> I checked this in 7.1.2. and 7.2.dev and in both cases it worked as expected.
(...)
> Can you give us more details about what exactly does not work ? Are you working
> on Java projects with Ant-based build infrastructure ?

My details:
Product Version: NetBeans IDE 7.1.1 (Build 201203012225)
Java: 1.6.0_21; Java HotSpot(TM) 64-Bit Server VM 17.0-b17
System: Windows 7 version 6.1 running on amd64; Cp1252; no_NO (nb)

I'm working on maven-projects, and I thought that was using Ant, but after googling a bit now, I see that this might not be true for maven versions >1. Most of my projects use a maven-antrun-plugin to do some specific tasks during build, but I don't know if thats relevant at all.

As for what exactly does not work:
Whenever I do Clean, Build, Clean&Build or Run(project or file) tabs from all finished such processes are discarded and only the tabs from the currently running processes (including the newly started one) remain.
!Regardless of whether "Reuse Output Tabs from Finished Processes" is on or off!

When I do Debug(project or file) usually two tabs appear, and only one of these are later discarded. The one called simply Debugger Console is only reused by a new Debug process, but in this case also
!Regardless of whether "Reuse Output Tabs from Finished Processes" is on or off!

For Test (which I don't do very often because the tests are run by maven on build) I have not yet tracked the pattern of the tab reuse.
Comment 4 Jesse Glick 2012-04-26 17:56:11 UTC
(In reply to comment #3)
> I'm working on maven-projects

Then of course this option from Ant settings is irrelevant.

> Most of my projects use a maven-antrun-plugin to do some specific tasks during
> build, but I don't know if thats relevant at all.

It is not.
Comment 5 superole2 2012-04-27 10:54:29 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > I'm working on maven-projects
> 
> Then of course this option from Ant settings is irrelevant.
> 
> > Most of my projects use a maven-antrun-plugin to do some specific tasks during
> > build, but I don't know if thats relevant at all.
> 
> It is not.

Ok.
Thanks for clearing this up.
Looking forward to getting this as a Maven-option then ;)
Comment 6 Milos Kleint 2013-03-14 12:56:08 UTC

*** This bug has been marked as a duplicate of bug 200026 ***