Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326102 - Better classpath tagging defaults
Summary: Better classpath tagging defaults
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.2 P   Edit
Assignee: Jason Sholl CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-23 16:38 EDT by Jason Sholl CLA
Modified: 2010-10-04 14:38 EDT (History)
1 user (show)

See Also:
cbridgha: review+


Attachments
Patch for 3.2.2 (5.27 KB, patch)
2010-09-23 16:40 EDT, 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-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