Is there a way to run a specific Ant task via the keyboard? I have a rsync to dev task that I run a lot and running to the mouse to double-click is a pain.
+4
A:
If you launch regularly the same external launch, you can assign a shortcut to the command:
"Run Last Launched External Tool"
(Windows/Preferences: type Keys, then launch, tested with Eclipse Ganymede 3.4.1)
VonC
2008-12-16 07:00:47
My version says "Run Last Launched External Tool".
thrashr888
2008-12-18 02:16:26
@thrashr888: You are right: mine too. I just fix this answer to reflect the correct label.
VonC
2008-12-18 06:46:20
A:
The following keyboard shortcut is listed in the Eclipse Ganymede help:
Run Ant Build: Alt+Shift+X, Q
Ola Eldøy
2008-12-16 08:28:37
That suppose you have the ant xml file open in your editor right ? By launching the last launched External Tool, you do not have to open it, and you can set all extra variable environments/path you may need to execute said xml ant file...
VonC
2008-12-16 12:32:04
You're right. You can toggle this behavior by Windows->Preference->Run/Debug->Launching then change Launch Operation (at the bottom) to "Always launch the previously launched application".
jamesh
2008-12-16 14:06:43