[jboss-user] [JBoss Seam] - profile based component configuration

marius.oancea do-not-reply at jboss.com
Wed Jan 9 08:20:57 EST 2008


I have an application that is deployed on many servers (A, B, C).


my compunents.xml has a section where i configure component X like this (on server A):

   
     5
     6
  


on another server (B) tis section has to look like:
   
     2
     3
  



Is there a posibility to include an xml into components.xml? Because the rest of the file is equal between servers.

I can create a components-A.xml and components-B.xml and at build time to make the copy of the rigth file into components.xml but this makes modification of components.xml difficult (because you have to maintain the common area in many places). Is there a way to make a  in components.xml ?

Or is there another nicer mechanism to configure XComponent to be profile(server) specific? 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118266#4118266

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118266



More information about the jboss-user mailing list