Re: Dynamically adding ModuleBuilderExtensions and NamingBuilders

2008-11-14 Thread Gianny Damour
Hi, The definition of mark-up interfaces may require the definition of a specific mark-up interface for each deployer type. For instance, a MBE may be specific to Tomcat and not to Jetty. Hence we may need WebMBE, TomcatMBE amd JettyMBE. Also for kind of the same reason than giving a

Re: Dynamically adding ModuleBuilderExtensions and NamingBuilders

2008-11-14 Thread David Jencks
On Nov 14, 2008, at 12:40 AM, Gianny Damour wrote: Hi, The definition of mark-up interfaces may require the definition of a specific mark-up interface for each deployer type. For instance, a MBE may be specific to Tomcat and not to Jetty. Hence we may need WebMBE, TomcatMBE amd

Re: Dynamically adding ModuleBuilderExtensions and NamingBuilders

2008-11-14 Thread Gianny Damour
On 15/11/2008, at 5:08 AM, David Jencks wrote: On Nov 14, 2008, at 12:40 AM, Gianny Damour wrote: Hi, The definition of mark-up interfaces may require the definition of a specific mark-up interface for each deployer type. For instance, a MBE may be specific to Tomcat and not to Jetty.

Re: Dynamically adding ModuleBuilderExtensions and NamingBuilders

2008-11-13 Thread Vamsavardhana Reddy
Thanks Gianny. I could add the MBE to TomcatBuilder by modifying config.xml. I have added the following gbean under org.apache.geronimo.configs/tomcat6-deployer/2.1.3/car to modify the reference to include a new MBE: gbean name=TomcatWebBuilder reference

Re: Dynamically adding ModuleBuilderExtensions and NamingBuilders

2008-11-13 Thread Gianny Damour
On 13/11/2008, at 10:08 AM, David Jencks wrote: On Nov 12, 2008, at 1:07 PM, Vamsavardhana Reddy wrote: As part of deploying SCA enhanced Web Applications in Geronimo with Tuscany Plugin, I am looking to add a ModuleBuilderExtension (MBE) to TomcatModuleBuilder and a NamingBuilder. The

Re: Dynamically adding ModuleBuilderExtensions and NamingBuilders

2008-11-13 Thread Jarek Gawor
On Wed, Nov 12, 2008 at 6:08 PM, David Jencks [EMAIL PROTECTED] wrote: Yup, this is a problem. So far we've sidestepped it by just adding all the known desired MBE's to the appropriate *-deployer plan, and as you have found this is non-extensible. One possiblitly would be to define marker

Re: Dynamically adding ModuleBuilderExtensions and NamingBuilders

2008-11-13 Thread David Jencks
These solutions certainly work but don't address the fundamental problem of adding MBE's dynamically to some builders and not others. For instance we can just modify the tomcat6-deployer plan right now to include the tuscany MBE and guess that eventually we'll have a jetspeed MBE and try

Re: Dynamically adding ModuleBuilderExtensions and NamingBuilders

2008-11-13 Thread Vamsavardhana Reddy
I agree that we need a general solution to dynamically add MBEs. The trick that Gianny showed does got me going with the Tuscany plugin work that I am doing. On Thu, Nov 13, 2008 at 11:21 PM, David Jencks [EMAIL PROTECTED]wrote: These solutions certainly work but don't address the fundamental

Re: Dynamically adding ModuleBuilderExtensions and NamingBuilders

2008-11-12 Thread David Jencks
On Nov 12, 2008, at 1:07 PM, Vamsavardhana Reddy wrote: As part of deploying SCA enhanced Web Applications in Geronimo with Tuscany Plugin, I am looking to add a ModuleBuilderExtension (MBE) to TomcatModuleBuilder and a NamingBuilder. The purpose of the MBE is to add SCA related