Bug 170242 - Saved Ant configurations not persisting
Summary: Saved Ant configurations not persisting
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-11 12:58 EST by Terry Jeske CLA
Modified: 2019-09-06 16:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Terry Jeske CLA 2007-01-11 12:58:22 EST
Build ID: M20060921-0945

Steps To Reproduce:
1. Load buld file in Ant view
2. Right click build file, choose Run As, 3. Ant Build.
3. On the Targets tab, deselect default, and select new targets.
4. Add a Name for this configuration i.e. "My Test"
5. Choose the Apply button.
6. Choose the Run button. 
7. After the build has run, right click the project in the Ant view.
8. Choose Run As, 2. Ant Build. Choose "My Test".
Results:
Ant does not run specified Target.



More information:
Comment 1 Darin Wright CLA 2007-01-11 17:14:44 EST
Build M20060921 is a 3.2.x maintenance build, but this bug is reported against 3.3. Can you verify if the problem exists in the latest 3.2.x build or in 3.3?
Comment 2 Terry Jeske CLA 2007-01-11 18:48:31 EST
I just installed 3.3M4 and found the same behaviour.

Also note that there appears to be a some other issues in this area.  For example if you "Edit configuration launch", make a change, choose the Close button. You get prompted to save the config. If choose No, it saves a version of the config anyway (although your targets are still not preserved).

Let me know if I should had this as a new bug.
Comment 3 Abner Ballardo CLA 2007-06-10 01:06:32 EDT
After looking at the source code, it seems there isn't a bug.

In step 2, Ant View understands you want to create a Launch Configuration with the target that you selected. That's why, if you right click the build file, the default target is selected in the Launch Configuration.

In step 8, Ant View understands you want to override the targets in "My Test" with the one that you selected. That's the reason why the default target is run.

Comment 4 Eclipse Webmaster CLA 2019-09-06 16:16:10 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.