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 232961 - Current History on Run Button not sufficient under Maven
Summary: Current History on Run Button not sufficient under Maven
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-18 09:05 UTC by tomzi
Modified: 2016-07-07 08:38 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 tomzi 2013-07-18 09:05:39 UTC
Currently it seems that only for each project one history entry is stored. 

However in Maven you can run different Run Configuration. Say if you have two/three 'Main' programs that you need to run in a 'Tools' project. 
With the current 'Run History' only one entry is shown in the history, namely the first one you started.

Expected:
 - Depending on the 'Run Confiugration' selected in the Toolbar, save one entry
 - Each history entry in 'Run' or 'Debug' shows in brackets the Run Config name, eg
    'Run Module1 (Run Config6)'
    'Run Module1 (Run Config3)'


Product Version = NetBeans IDE 7.4 Beta (Build 201307092200)
Operating System = Linux version 3.8.0-26-generic running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Comment 1 Milos Kleint 2013-07-22 11:57:48 UTC
the information about configuration is already lost in the process.  
The run history will never adapt to changes in profiles or properties in configurations (or elsewhere) and will always exactly re-run what was run at the first time. 

By showing configurations, we are moving away from that concept and would have to recreate the given run command from scratch, taking into account the changes in configurations and action mappings.

changing to enhancement, the current behaviour is correct (according to the current design)
Comment 2 tomzi 2013-07-25 06:34:14 UTC
well, that's sad. Since this scenario is totally unusable (for me).

The ONLY way to start more than one 'main' program, eg from tools projects is via run configurations. And this is *only* possible to if you 
- scroll to the projec
- click on the project
- then go up again and choose your 'Run Configuration'
- *finally* click run or debug

I am all over the IDE to just start one process.

When I saw in the 'Release Notess' this 'History Feature' - I said 'THHHHANNKK YOU!! - Finally!'

It would be soo much easier to just click 'ONCE' on the Run History to start the process.

*Please* do think about it again!

(By the way Eclipse could do this almost from day one, or two... not that this is important :))
Comment 3 Martin Balin 2016-07-07 08:38:30 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss