Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330916 - JAX-RS - facet install should consider Web project associated with multiple EARs
Summary: JAX-RS - facet install should consider Web project associated with multiple EARs
Status: RESOLVED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.2.3   Edit
Assignee: Eric Peters CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 08:37 EST by Eric Peters CLA
Modified: 2010-11-23 11:10 EST (History)
0 users

See Also:
ericdp: review? (keith.chong.ca)


Attachments
patch (15.12 KB, patch)
2010-11-23 10:25 EST, Eric Peters CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Peters CLA 2010-11-23 08:37:20 EST
If adding facet after project is created (for example), if "Shared library" option selected, org.eclipse.jst.ws.jaxrs.core.internal.jaxrssharedlibraryconfig.JAXRSSharedLibConfiguratorDelegate.installSharedLibs(IProject, IProject, IProgressMonitor, List<String>) should be called for each EAR project associated with the web project.
Comment 1 Eric Peters CLA 2010-11-23 10:25:04 EST
Created attachment 183672 [details]
patch

Unit testing included:
-No EAR, new project, deploy option, extender library (as regression)
-3 EARs  (2 associated), shared option, existing project, extender library 
-Deploy option, new project (as regression), extender library 
-User Library, shared library, existing project (as regression)
Comment 2 Eric Peters CLA 2010-11-23 11:10:13 EST
Changes committed to 3.2.3 & HEAD.