Bug 26405 - AntTargetsTab doesn't save target selection
Summary: AntTargetsTab doesn't save target selection
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2002-11-14 14:44 EST by Jared Burns CLA
Modified: 2002-11-25 12:15 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.