Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367547

Summary: Single action to update dependencies, project configuration and rebuild
Product: z_Archived Reporter: Igor Fedorenko <igor>
Component: m2eAssignee: Igor Fedorenko <igor>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: andrew.eisenberg, bimargulies, manderse, rafal
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Igor Fedorenko CLA 2011-12-25 22:02:39 EST
As a user, I want to update project dependencies, update project configuration and rebuild the project using single action. This will be convenient when refreshing workspace after external change, i.e. switching from one git branch to another. Today I need to perform three separate actions. Annoying. 

See also  333532.
Comment 1 Igor Fedorenko CLA 2011-12-26 00:03:01 EST
*** Bug 343605 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Eisenberg CLA 2011-12-29 17:09:07 EST
This is a good move, IMO.
Comment 4 Andrew Eisenberg CLA 2011-12-29 17:12:48 EST
Would also like a nice key binding for this.
Comment 5 Igor Fedorenko CLA 2011-12-29 17:51:39 EST
(In reply to comment #4)
> Would also like a nice key binding for this.

Any suggestion? 

The shortest available key combination seems to be Fn+Control+Option+Command+Shit+F12 and it is most likely Mac specific :-)
Comment 6 Andrew Eisenberg CLA 2011-12-29 18:01:17 EST
It looks to me that Alt-M R is available.  Might I suggest that you co-opt all of the Alt-M ... bindings for m2e use?  In my Eclipse (that includes more than a few extra plugins) none of the Alt-M bindings are used.    

We have done this for Groovy and Grails tooling (co-opting Alt-G ...)  and it makes it easy to choose keybindings for new commands.  And it makes it easier to remember what the keybindings are.
Comment 7 Rafal Krzewski CLA 2011-12-30 05:15:50 EST
This sounds great!

A shortcut would be also nice, but I would prefer Alt+M U (for Update), because my connotation for R is Run (I know that it's Alt+Shift+X M...)

Whether grabbing Alt-M prefix is allowed / good practice is a broader issue though.
Comment 8 Igor Fedorenko CLA 2011-12-30 08:23:54 EST
Anyone willing to attach a quality patch to bug 333532? ;-)
Comment 9 Max Rydahl Andersen CLA 2012-01-25 07:33:43 EST
About keyboard short cuts then Cmd+3 "update" will be enough for most IMO :)

And yes this looks like a great simplification.
Comment 10 benson margulies CLA 2012-01-25 07:47:37 EST
One of the oddities of the current dialog is that it applies to multiple projects but only shows up in the right-click menu when a *single* project is selected. I'm hoping that this will be rationalized in the new one.
Comment 11 Igor Fedorenko CLA 2012-01-25 07:53:21 EST
(In reply to comment #10)
> One of the oddities of the current dialog is that it applies to multiple
> projects but only shows up in the right-click menu when a *single* project is
> selected. I'm hoping that this will be rationalized in the new one.

That's not the case for me, the action is available for single maven project, multiple maven projects and for working sets. The action (obviously) is not available for non-maven projects.
Comment 12 Denis Roy CLA 2021-04-19 13:26:35 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/