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 197591 - Maven action names are not shown in the output window tabs
Summary: Maven action names are not shown in the output window tabs
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal with 3 votes (vote)
Assignee: Tomas Stupka
URL:
Keywords: UI
: 229556 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-09 15:07 UTC by vaskar
Modified: 2016-04-13 01:48 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Screenshot demonstrating the issue (67.44 KB, image/png)
2011-04-09 15:20 UTC, vaskar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vaskar 2011-04-09 15:07:42 UTC
When I execute actions of a regular (ant-based) project, the action names (clean, jar, etc) are shown in the corresponding tabs of the output window. That is the expected behaviour. 

Unfortunately, when I execute actions of a maven-based project, all tabs in the output window share the same name (see the 'problem.png' file I attached). 

Thus it is difficult to discover which of the actions is (or was) being executed in each tab. It would be great if the action display name was shown in the corresponding tab of the output window. 

The same problem exists in version 7.0rc2.
Comment 1 vaskar 2011-04-09 15:20:25 UTC
Created attachment 107623 [details]
Screenshot demonstrating the issue

The tabs in the Output window share the same name inspite of the fact that different actions were executed in the tabs.
Comment 2 Jesse Glick 2011-04-11 14:13:45 UTC
As designed, but agreed that including the specified goal(s)/phase(s) in the tab title after the project name would be useful.

(7.0 uses <name> for the tab title rather than <groupId>_<artifactId>_<packaging>_<version> as in 6.x.)
Comment 3 vaskar 2011-04-12 02:47:51 UTC
> agreed that including the specified goal(s)/phase(s)
> in the tab title after the project name would be useful

When I execute a custom action, I'd prefer the action display name to be shown. Consider this configuration in nbactions.xml:

	<action>
		<actionName>CUSTOM-node8081</actionName>
		<displayName>jetty: node8081</displayName>
		<goals>
			<goal>jetty:run</goal>
		</goals>
		<properties>
			<node.port>8081</node.port>
		</properties>
	</action>
	
	<action>
		<actionName>CUSTOM-node8081</actionName>
		<displayName>jetty: node8081</displayName>
		<goals>
			<goal>jetty:run</goal>
		</goals>
		<properties>
			<node.port>8081</node.port>
		</properties>
	</action>

Both actions share the same goal and phase, so this information would not be enough to distinguish the tabs.
Comment 4 vaskar 2011-04-12 02:50:50 UTC
Oops... in my previous post the second action should have been as follows:

    <action>
        <actionName>CUSTOM-node8082</actionName>
        <displayName>jetty: node8082</displayName>
        <goals>
            <goal>jetty:run</goal>
        </goals>
        <properties>
            <node.port>8082</node.port>
        </properties>
    </action>
Comment 5 Milos Kleint 2013-09-03 07:22:25 UTC
*** Bug 229556 has been marked as a duplicate of this bug. ***
Comment 6 markiewb 2013-11-01 23:28:49 UTC
@Milos: You recently fixed a similar issue - regarding http://screencast.com/t/GgND0WHfs Does it handle this issue too?
Comment 7 Christian Lenz 2014-07-17 09:22:39 UTC
Please add this feature, I have the same problem, I have 3 goals, 2 custom goals and its a pain in the ass to find the right one :/. Voted for this.


Regards

Chris
Comment 8 Tomas Stupka 2016-04-12 14:55:42 UTC
fixed in jet-main #03dd6d7c7f80
Comment 9 Quality Engineering 2016-04-13 01:48:18 UTC
Integrated into 'main-silver', will be available in build *201604130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/03dd6d7c7f80
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #197591 - Maven action names are not shown in the output window tabs