fusesource/fuseide — pull request #36 by pleacu (2013-11-20 19:14:24+00:00)
Title: ECLIPSE-1003 - correct lost deploy parameter in hot folder deployment

Latest kepler has changed the semantics of the HandlerServiceHandler. Ref:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=413112

Comment from Eclipse Platform UI development team:

"This isn't really the supported way of executing anything in the system. At best you're executing WorkbenchHandlerServiceHandler directly, and that can do whatever it wants with the ExecutionEvent.

However ... if you go command.executeWithChecks(executionEvent) that's supposed to work (although even that's not recommended, as the correct way to use the system is handlerService.executeCommand(command, null);) and we should look into that."

Modified fuse deployment code to use handlerService.execute as recommended. Modified the handler code to match.