Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 119237 - Chosen facets aren't propagated to ear
Summary: Chosen facets aren't propagated to ear
Status: CLOSED WONTFIX
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.common (show other bugs)
Version: 1.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P2 critical (vote)
Target Milestone: 1.0.1 M101   Edit
Assignee: Jason Sholl CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 103999
  Show dependency tree
 
Reported: 2005-12-05 07:59 EST by Sachin Patel CLA
Modified: 2007-07-29 09:18 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sachin Patel CLA 2005-12-05 07:59:44 EST
If a facet is applicable to a given module as well as an ear, then by default, if the facet is chosen in the module creation wizard AND the create EAR checkbox is selected, that facet on the EAR should be processed as well.  Currently this is not the behavior and the user has to know to select "New" ear to configure the ear.  This is a usabilty concern.
Comment 1 Arthur Ryman CLA 2005-12-05 10:29:50 EST
Added to Hot List at the request of Sachin Patel and tentatively targetted to 1.0.1 pending triage.
Comment 2 Arthur Ryman CLA 2005-12-05 19:32:30 EST
Setting priority to P2.
Comment 3 Sachin Patel CLA 2006-01-11 15:48:33 EST
Bumping up severity on this due to the way JSR88 deployment is implemented in Geronimo.  Without this fix two ear projects would have the same id's set in the application.xml after project creation.  Since the id's are not initially unique this will cause a failure during deployment.  The only assurance is to make sure that the facet is propegated and run on the ear in order to create the geronimo specific deployment plan (geronimo-application.xml) which would contain a unqiue ID for deployment.
Comment 4 Kathy Chan CLA 2006-01-12 09:57:30 EST
+1 on the severity of this bug.  We need this problem resolved in order for the Web Services wizard to work on Geronimo server.
Comment 5 Jason Sholl CLA 2006-01-12 17:54:31 EST
This bug should be fixed in the GeronimoFacetInstallDelegate.  When the GeronimoFacetInstallDelegate is executed, the J2EE facet will already have been installed and the EAR component created and linked.  Thus if an EAR was created, or the J2EEModule already existed and was linked to an EAR (or many EARs), the GeronimoFacetInstallDelegate will be able to add the Geronimo facet to the various EARs.

As an aside, there is no way for this to be fixed in a from any of the J2EE facets, because there is no way for the J2EE facet to know what facets are depending on it.
Comment 6 Sachin Patel CLA 2006-01-12 18:37:34 EST
Ok.  I wasn't aware that the EAR would already be linked at this point.  I just finished implementing this solution, and is acceptable.  Thanks!
Comment 7 Hari Shankar CLA 2006-09-26 13:13:04 EDT
Resolved in GeronimoFacetInstallDelegate per comments below.
Comment 8 John Lanuti CLA 2006-09-26 14:50:38 EDT
Closing as verified.
Comment 9 Eclipse Webmaster CLA 2007-07-29 09:18:27 EDT
Changing OS from Mac OS to Mac OS X as per bug 185991