Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331044 - Deployment assembly's use of '/'
Summary: Deployment assembly's use of '/'
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows Server 2003
: P3 normal (vote)
Target Milestone: 3.2.3   Edit
Assignee: Aidyl Kareh CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-24 12:06 EST by Jason Sholl CLA
Modified: 2010-11-24 15:06 EST (History)
0 users

See Also:
cbridgha: review+
jsholl: review? (ccc)


Attachments
patch (8.54 KB, patch)
2010-11-24 12:07 EST, Jason Sholl CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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