Bug 313608

Summary: random build/compile error due to out of sync files
Product: [WebTools] WTP Java EE Tools Reporter: Carl Anderson <ccc>
Component: jst.j2eeAssignee: Carl Anderson <ccc>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: major    
Priority: P3 CC: jsholl
Version: 3.0.5Flags: cbridgha: review+
Target Milestone: 3.0.5 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 303070, 303635, 311448    
Bug Blocks:    
Attachments:
Description Flags
Refresh the entire project none

Description Carl Anderson CLA 2010-05-19 15:19:17 EDT
We need to get this further patch into R3_0_5_patches

+++ This bug was initially created as a clone of Bug #311448 +++

We didn't go far enough with the previous bugs.  Simply put, if we find that one of the essential files for the classpath - the .component file, the Deployment Descriptor, or the MANIFEST.MF - are out of synch with the file system, we should refresh all of them.

Note:  The OutOfMemoryErrors that are frequently occurring are surfacing this issue even more.

+++ This bug was initially created as a clone of Bug #303635 +++

This bug is to get the fix into HEAD for WTP 3.2.

+++ This bug was initially created as a clone of Bug #303070 +++

An adopter product is seeing a condition where the deployment descriptor of an EAR is out of sync with the file system.  This results in a partial load of the EAR's deployment descriptor:
1) The deployment descriptor node does not appear in Project Explorer
2) In the Java EE Module Dependencies, only one of many modules that should be selected are selected
3) The ClasspathContainer is thus flawed, with many compilation errors due to the fact that classes in modules that should be included in the classpath via the EAR Libraries are not, due to #2
Comment 1 Carl Anderson CLA 2010-05-19 15:33:06 EDT
Created attachment 169198 [details]
Refresh the entire project
Comment 2 Carl Anderson CLA 2010-05-19 15:33:49 EDT
This patch is identical to the patch that went into HEAD for bug 311448.
Comment 3 Chuck Bridgham CLA 2010-05-19 15:40:36 EDT
approved
Comment 4 Carl Anderson CLA 2010-05-21 08:34:56 EDT
Committed to R3_0_5_patches