Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313797

Summary: More recent version of document warning does not appear until after a clean/validate
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: GeneralAssignee: Nan Li <nan.n.li>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jolene.moffitt, neil.hauge
Version: 2.3Flags: karenfbutzke: review+
Target Milestone: 3.1 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed Patch karenfbutzke: iplog+, karenfbutzke: review+

Description Karen Butzke CLA 2010-05-20 15:08:27 EDT
Start with a 1.0 Generic project with a persistence.xml and orm.xml file.
Change the JPA facet version to 2.0 and select the 2.0 Generic platform.
When you finish the wizard notice that no "info" appears on the orm.xml or persistence.xml that a more recent version of the document is available.
Running Validation or cleaning the project will make the "infos" appear.
Comment 1 Nan Li CLA 2011-09-30 15:27:53 EDT
*** Bug 316965 has been marked as a duplicate of this bug. ***
Comment 2 Nan Li CLA 2011-09-30 15:29:00 EDT
Created attachment 204412 [details]
Proposed Patch
Comment 3 Karen Butzke CLA 2011-10-26 15:51:51 EDT
reviewed and checked in to HEAD
Comment 4 Jolene Moffitt CLA 2011-11-02 14:03:24 EDT
Verified in Build I-3.4.0-2011102024120 

Verified when you update a JPA 1.0 project that contains an orm.xml file, to a JPA 2.0/Generic 2.0 project 2 "info" messages appear in problem pane for orm.xml and presistence.xml. See the link to view test steps for verification.
http://wiki.eclipse.org/Dali_3.1_M3