Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357729 - New project wizard setting impact preference setting
Summary: New project wizard setting impact preference setting
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Song Fan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 02:07 EDT by Yu Hao CLA
Modified: 2017-02-23 14:14 EST (History)
5 users (show)

See Also:


Attachments
Update to not to save the generator change to workspace preference. (3.44 KB, patch)
2011-10-07 23:06 EDT, Huang Ji Yong CLA
lasher: iplog+
Details | Diff
fix patch (14.35 KB, patch)
2011-10-30 22:43 EDT, Song Fan CLA
lasher: iplog+
Details | Diff
patch, remove coflict change of 358997 (14.20 KB, patch)
2011-11-04 02:49 EDT, Song Fan CLA
lasher: iplog+
Details | Diff
fix patch (15.60 KB, patch)
2011-11-08 02:15 EST, Song Fan CLA
lasher: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yu Hao CLA 2011-09-15 02:07:29 EDT
Build Identifier: 

In new project wizard, if you change the EGL compiler setting,then the setting in preference will be also changed

Reproducible: Always

Steps to Reproduce:
1.Open preference and remember the EGL Compiler setting
2.Create new project with wizard
3.Change the EGL Compiler setting in the wizard
4.Finish the new project and re-open the preference window, you will find the EGL Compiler setting was changed
Comment 1 Tony Chen CLA 2011-09-15 02:15:22 EDT
This has to be fixed. 

If workspace preference is changed, any project that does not override the compiler setting will be affected. We don't want creation of a new project impact existing projects. 

I think we need another way to remember the last choice.
Comment 2 Justin Spadea CLA 2011-09-15 09:44:42 EDT
I completely agree with Tony's comment.
Comment 3 Huang Ji Yong CLA 2011-10-07 23:06:49 EDT
Created attachment 204782 [details]
Update to not to save the generator change to workspace preference.
Comment 4 Huang Ji Yong CLA 2011-10-07 23:17:41 EDT
Resolved, code committed.
Comment 5 Yu Hao CLA 2011-10-12 22:23:54 EDT
Yes, the compiler setting in preference will not be impacted when created new project. But if you open the properties of the new project to check the compiler setting, you will find that what you set in the wizard was not effective.

I tried in 201110120952
Comment 6 Huang Ji Yong CLA 2011-10-13 01:33:02 EDT
The generator selection is applied correctly. The problem now is that the generator folder setting is not applied correctly.
Comment 7 Song Fan CLA 2011-10-30 22:43:26 EDT
Created attachment 206185 [details]
fix patch
Comment 8 Song Fan CLA 2011-11-04 02:49:30 EDT
Created attachment 206445 [details]
patch, remove coflict change of 358997
Comment 9 Song Fan CLA 2011-11-08 02:15:58 EST
Created attachment 206566 [details]
fix patch
Comment 10 Song Fan CLA 2011-11-08 03:03:08 EST
Change the design, so need a regression test for Project design.

For the compiler/generation setting form, reuse the properties setting code instead of preference code.
Comment 11 Yu Hao CLA 2011-11-14 00:52:03 EST
Verified in 201111130901