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

Bug 326102

Summary: Better classpath tagging defaults
Product: [WebTools] WTP Java EE Tools Reporter: Jason Sholl <jsholl>
Component: jst.j2eeAssignee: Jason Sholl <jsholl>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc
Version: 3.2Flags: cbridgha: review+
Target Milestone: 3.2.2 P   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:
Attachments:
Description Flags
Patch for 3.2.2 none

Description Jason Sholl CLA 2010-09-23 16:38:48 EDT
When tagging classpath entries for inclusion using the deployment assembly pages, the defaults ought to always place the tagged entries into the EAR's lib folder if one exists when the module is not a Web module.  e.g. if the module is already in the lib folder the tag should be '../', if the module is in the root and the ear has a default lib folder, the tag should be '../lib/', if the module is in the foo directory and the ear's lib folder is the bar directory, the tag should be '../../bar', etc.

The attached patch handles the above.
Comment 1 Jason Sholl CLA 2010-09-23 16:40:02 EDT
Created attachment 179489 [details]
Patch for 3.2.2
Comment 2 Chuck Bridgham CLA 2010-09-23 16:48:36 EDT
approved - thanks
Comment 3 Jason Sholl CLA 2010-09-29 12:34:02 EDT
code checked into 32M and HEAD for WTP 3.2.3 and 3.3 respectively.
Comment 4 Carl Anderson CLA 2010-10-04 14:38:22 EDT
Committed to R3_2_2_patches