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

Bug 331044

Summary: Deployment assembly's use of '/'
Product: [WebTools] WTP Java EE Tools Reporter: Jason Sholl <jsholl>
Component: jst.j2eeAssignee: Aidyl Kareh <amkareh>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 Flags: cbridgha: review+
jsholl: review? (ccc)
Version: 3.2   
Target Milestone: 3.2.3   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:
Attachments:
Description Flags
patch none

Description Jason Sholl CLA 2010-11-24 12:06:03 EST
Current the module assembly page always displays the Deploy Path as an absolute path, e.g. "/foo.jar" instead of a relative path, e.g. "foo.jar".  This is currently done because that is how the paths are stored in the .settings/org.eclipse.wst.common.component file.  The problem however, is that these paths are also used to populate the application.xml.  In the application.xml these paths MUST be relative.  This bug changes the UI behavior to only show a preceding '/' for the root folder; otherwise all paths will be displayed as relative.  Also a fix has been added to ensure relative paths are used when setting the module URI's in the application.xml file.
Comment 1 Jason Sholl CLA 2010-11-24 12:07:09 EST
Created attachment 183780 [details]
patch
Comment 2 Chuck Bridgham CLA 2010-11-24 13:25:00 EST
approved
Comment 3 Jason Sholl CLA 2010-11-24 15:06:13 EST
Code checked into 32M and HEAD for WTP 3.2.3 and 3.3