This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 174712 - right clicking on a ejb project (facet version 3.0) causes an incorrect ejb-jar.xml to be created
Summary: right clicking on a ejb project (facet version 3.0) causes an incorrect ejb-j...
Status: RESOLVED INVALID
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Raj Mandayam CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-19 17:56 EST by Raj Mandayam CLA
Modified: 2007-06-18 20:08 EDT (History)
0 users

See Also:


Attachments
patch for ModelExtensionUtil (10.47 KB, patch)
2007-02-19 18:01 EST, Raj Mandayam CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raj Mandayam CLA 2007-02-19 17:56:47 EST
Build ID: WTP I20070206

Steps To Reproduce:
1.right clicking on a ejb project (facet version 3.0) causes an incorrect ejb-jar.xml to be created
2. This is caused by the AbstractClientJarAction querying the project for ejb artifact edit and calling api 'hasEJBClientJARProject' on the artifact edit.
3.the fix is to extract the method 'hasEJBClientJARProject' into a wrapper class ModelExtensionUtil that will create the artifact edit only for projects with an artifact edit.

see patch attached.


More information:
Comment 1 Raj Mandayam CLA 2007-02-19 18:01:20 EST
Created attachment 59326 [details]
patch for ModelExtensionUtil
Comment 2 Chuck Bridgham CLA 2007-02-20 14:39:22 EST
Comment on attachment 59326 [details]
patch for ModelExtensionUtil

Removing this patch for now....   Not ready for a model extension
Comment 3 Raj Mandayam CLA 2007-06-18 20:08:38 EDT
this is invalid now. use model provider.