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

Bug 322280

Summary: Export does not properly resolve linked resources
Product: z_Archived Reporter: Cole Markham <cole>
Component: LibraAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: austin.riddle, eclipse, holger.staudacher
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Cole Markham CLA 2010-08-10 15:46:49 EDT
Build Identifier: CVS Head

If a project is not stored in the workspace directory then the WAR Product Export does not properly resolve the web.xml, launch.ini or any included libraries. This most likely also happens when using linked resources in Helios.

The problem is that the paths are resolved by appending to the workspace filesystem location, rather than using the Resources framework to resolve properly.

Validation exists for libraries, but not for web.xml or launch.ini, but that is really a separate bug. For this bug, validation is broken on the libraries because it uses the same logic to resolve against the workspace location.

Reproducible: Always

Steps to Reproduce:
1. Import an existing project into workspace, don't select "Copy into workspace"
2. Reference the launch.ini, web.xml, or library in the war product
3. Validation errors for libraries, missing files for the others.
Comment 1 Holger Staudacher CLA 2010-08-17 18:29:47 EDT
Fixed in CVS HEAD.
Comment 2 Karsten Voigt CLA 2010-08-18 08:54:02 EDT
*** Bug 322943 has been marked as a duplicate of this bug. ***