This content has been marked as final.
Show 1 reply
-
1. Re: profile based component configuration
vincent.latombe Jan 9, 2008 11:14 AM (in response to marius.oancea)Check out
http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/xml.htmlSometimes we want to reuse the same components.xml file with minor changes during both deployment and testing. Seam lets you place wildcards of the form @wildcard@ in the components.xml file which can be replaced either by your Ant build script (at deployment time) or by providing a file named components.properties in the classpath (at development time). You'll see this approach used in the Seam examples.
The good way is to use a properties file which is instantiated on compilation.