Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 284707 - [target] The target name should be defaulted to target file name instead of 'New Target'
Summary: [target] The target name should be defaulted to target file name instead of '...
Status: VERIFIED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.6 M1   Edit
Assignee: Ankur Sharma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-27 06:02 EDT by Ankur Sharma CLA
Modified: 2009-08-04 11:33 EDT (History)
2 users (show)

See Also:


Attachments
Patch for NewTargetDefinitionWizard.java (1.91 KB, patch)
2009-07-29 03:02 EDT, Ankur Sharma CLA
curtis.windatt.public: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ankur Sharma CLA 2009-07-27 06:02:44 EDT
Build ID: I20090611-1540

Steps To Reproduce:
1. Create a new target definition file using 'New Target Definition' wizard.
2. Provide a file name and select the "Nothing" as initialize option. Click Finish.

It will be better if the target that's created has the name initialized to its file name rather than 'New Target'.
Comment 1 Curtis Windatt CLA 2009-07-27 10:26:56 EDT
That sounds reasonable, have to remove the .target extension.
Comment 2 Ankur Sharma CLA 2009-07-29 03:02:20 EDT
Created attachment 142850 [details]
Patch for NewTargetDefinitionWizard.java

The 'new target' name is replaced by file name sans extension
Comment 3 Curtis Windatt CLA 2009-07-29 13:03:42 EDT
Applied patch to HEAD.  Major a trivial change in case the file has a extension other than .target (it is currently enforced in the UI).
Comment 4 Darin Wright CLA 2009-08-04 11:33:04 EDT
Verified.