Community
Participate
Working Groups
Build ID: WTP 1.5.5 patches Steps To Reproduce: 1. Construct a module 2. Create a linked folder in this module that is not part of the source folder. For example, in a web module's WebContent directory create a linked directory. More information: The directory created in step 2 should force the isSingleRootStructure() method to return false. In the javadoc for this method it states: "In a single root structure, all files that are contained within the root folder are part of the module, and are already in the correct module structure. No module resources exist outside of this single folder." and in this scenario the linked resource may point to a resource outside of the root folder. Therefore, this method should return false in this scenario. I will attach a sample patch (based on 1.5.5 patches + the fix for bug 220958) that could be used. There is one TODO in this patch with regards to error handling.
Created attachment 91447 [details] Possible patch for J2EEFlexProjDeployable.java
Created attachment 92523 [details] revised patch This patch is essentially the same as the previous one but avoids an instanceof check and variable setting & reading which should make it slightly faster. This patch also contains the patch from bug 220958
Created attachment 92922 [details] patch This revised patch is from Troy. It handles linked IFiles and the general case for all Component project types instead of only Web projects.
This patch does not apply cleanly. Can you please provide a new one against the R1_5_5_patches branch?
Created attachment 98418 [details] Patch based on latest R1_5_5_patches
Thanks Troy. patch applied to R1_5_5_patches branch.
Comment on attachment 92922 [details] patch marking this one as obsolete, since not used.
this still hasn't been put into 3.0. Opened bug 230302
Thanks!