Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 78162 - Double click on Ant view tasks Open the editor (should start that target)
Summary: Double click on Ant view tasks Open the editor (should start that target)
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Jared Burns CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-09 08:56 EST by Roel De Meester CLA
Modified: 2004-11-16 04:22 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roel De Meester CLA 2004-11-09 08:56:20 EST
Since 3.1m3 the double click behaviour of tasks in the ant view has changed.
Default behaviour should be [in my humble opinion] to launch that ant task and 
NOT open the editor at the corresponding task location.
Where launching an ant task was feasibility in earlier by pressing 'enter' on 
the corresponding task. You now have to right click on the task, select 'Run 
As', and click on 'Ant Build'. Way too many mouse operations. ;)
Comment 1 Darin Swanson CLA 2004-11-09 12:58:43 EST
The reason for the change is we were trying to be consistent in the behavior 
in the view.

I propose that we change the double click to always launch the ant build.
Double click on:
project: launches build on default target
target: launches build on that target
task: launches build on the parent target

For faster launching, select the target and click on toolbar "Run" button
Comment 2 Gabriele Garuglieri CLA 2004-11-10 01:59:59 EST
For what is worth, i agree with that, thanks.
Comment 3 Darin Swanson CLA 2004-11-10 12:51:58 EST
Since the community has spoken :-) double click is back for launching.
Changes:
AntView: changed doubleclick behavior
RunTargetAction: support for launching when tasks are selected (owning target 
launched)
AntViewActionMessages.properties: tooltip for RunTargetAction when Task 
selected
Comment 4 Darin Swanson CLA 2004-11-10 12:52:37 EST
Please verify Jared.
Comment 5 Darin Swanson CLA 2004-11-10 18:48:54 EST
Forgot the change to AntLaunchShortcut to handle launching based on a task 
node.
Comment 6 Guillaume Pothier CLA 2004-11-10 20:01:09 EST
I don't know how to make it consistent with the rest of eclipse, but as far as
I'm concerned I chose the option to open editors by single-click (ie. in the
package explorer).
Maybe we could have single click to open ant editor, and double click to launch
ant task, if the user chose the single click option.
Otherwise... Maybe provide an additional option...
Comment 7 Darin Swanson CLA 2004-11-10 20:07:36 EST
I have logged 78360 for support of single click open in the Ant view.
Comment 8 Jared Burns CLA 2004-11-15 13:54:44 EST
Verified.