Bug 153420 - Allow maping of keyboard shortcuts to maven goals
Allow maping of keyboard shortcuts to maven goals
Status: NEW
Product: projects
Classification: Unclassified
Component: Maven
6.x
All All
: P3 with 11 votes (vote)
: TBD
Assigned To: Milos Kleint
issues@platform
: PLAN
: 154499 170359 187242 (view as bug list)
Depends on:
Blocks: 178644
  Show dependency treegraph
 
Reported: 2008-11-18 20:25 UTC by akochnev
Modified: 2013-04-29 12:47 UTC (History)
5 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description akochnev 2008-11-18 20:25:05 UTC
It would be great if (similarly to ant based projects) one could map keyboard shortcuts to the execution of standard or
custom maven goals. Currently, only the standard actions (build, run, whatever) have shortcuts mapped to them. 

In my current setup, in the absense of the ability to copy over resources whenever I change the resource files from
main/resources, i want to be able to tap a button to execute a 'custom' maven goal that would copy out the resources to
the deployment directory. Currently, I have to right click on the project, Custom->FooGoal (total of three clicks) in
order to execute an action that I need to do quite often.
Comment 1 Jesse Glick 2008-11-19 00:16:57 UTC
Be careful; there are many unresolved issues with how Ant shortcuts work. Probably we should have a unified GUI, as we
did for the Stop and Rerun actions.
Comment 2 Milos Kleint 2008-12-03 19:06:35 UTC
*** Issue 154499 has been marked as a duplicate of this issue. ***
Comment 3 Milos Kleint 2009-08-20 09:42:13 UTC
*** Issue 170359 has been marked as a duplicate of this issue. ***
Comment 4 Antonin Nebuzelsky 2010-07-30 15:17:00 UTC
Reassigning to default owner.
Comment 5 Jesse Glick 2011-04-27 17:59:57 UTC
*** Bug 187242 has been marked as a duplicate of this bug. ***
Comment 6 _ gtzabari 2012-07-12 20:18:06 UTC
I am using http://code.google.com/p/maven-android-plugin/ to build Android under Netbeans. One major feature I'm missing is the ability to map F6 to the custom goal for deploying to device.

Jesse, could you elaborate on what you meant by a unified GUI? How would it help with our use-cases?
Comment 7 dusanmsk 2012-07-16 15:18:55 UTC
Will be great, clicking by mouse if you have many opened projects is not a best way.
Comment 8 _ gtzabari 2012-10-09 23:53:39 UTC
Milos,

Is this issue being considered for Netbeans 7.3?
Comment 9 Milos Kleint 2013-04-29 12:47:26 UTC
in 7.4 global custom actions can be associated with an action/toolbar icon. No association is made with keyboard shortcuts but one can do that manually after the toolbar action is created.

Only 6 custom maven actions can be added to toolbar.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo