Bug 216747 - Should use AVOID_NATURE_CONFIG when updating project references
Summary: Should use AVOID_NATURE_CONFIG when updating project references
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.4 M5   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 216732
Blocks:
  Show dependency tree
 
Reported: 2008-01-28 07:57 EST by Szymon Brandys CLA
Modified: 2008-02-05 10:28 EST (History)
2 users (show)

See Also:


Attachments
Proposed fix and regression test (2.64 KB, patch)
2008-01-28 11:52 EST, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Brandys CLA 2008-01-28 07:57:58 EST
See bug 216732 comment 1 and comment 2.

I would suggest to use AVOID_NATURE_CONFIG in IProject#setDescription(). This flag should be used when natures are not being configured/deconfigured. 

If, however, you need to configure natures in this particular case, I would suggest to use the workspace rule in the outer job.
Comment 1 Jerome Lanneluc CLA 2008-01-28 11:52:35 EST
Created attachment 88029 [details]
Proposed fix and regression test
Comment 2 Jerome Lanneluc CLA 2008-01-28 12:09:34 EST
Fix and test released for 3.4M5 in HEAD.
Comment 3 Eric Jodet CLA 2008-02-05 10:28:27 EST
Verified for 3.4M5 using build I20080204-0010