Bug 26405

Summary: AntTargetsTab doesn't save target selection
Product: [Eclipse Project] Platform Reporter: Jared Burns <jared_burns>
Component: AntAssignee: Darin Wright <darin.eclipse>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: ui
Version: 2.1   
Target Milestone: 2.1 M4   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Jared Burns CLA 2002-11-14 14:44:56 EST
Build 20021113

1. Create an ant launch config on an ant file with two targets and go to the
ant targets tab.
2. Deselect "Run default target" and remove one of the targets from the list.
3. Click Apply, then Close.
4. The target list isn't updated. If you run the config, both targets will be
run and if you open the dialog again, you'll see both targets added.
Comment 1 Jared Burns CLA 2002-11-14 14:46:16 EST
The problem was that we weren't correctly removing the targets from the content
provider's list of targets in the method 
AntTargetContentProvider.remove(IStructuredSelection).
Comment 2 Jared Burns CLA 2002-11-14 14:48:12 EST
Fixed in the remove(IStructuredSelection) method. Please verify.
Comment 3 Darin Wright CLA 2002-11-25 12:15:44 EST
Verified.