-
1. Re: Configuration layout
jmesnil Apr 24, 2009 4:43 AM (in response to jmesnil)"jmesnil" wrote:
src/config/non-clustered -> beans and configuration for (non-clustered) standalone
src/config/clustered -> beans and configuration for clustered standalone
src/config/jbossas/non-clustered/ -> beans for (non-clustered) AS 5 integration
src/config/jbossas/clustered -> beans for clustered AS 5 integration
Oups! wrong layout. The correct layout is
src/config/standalone/non-clustered -> beans and configuration for (non-clustered) standalone
src/config/standalone/clustered -> beans and configuration for clustered standalone
src/config/jbossas/non-clustered/ -> beans for (non-clustered) AS 5 integration
src/config/jbossas/clustered -> beans for clustered AS 5 integration -
2. Re: Configuration layout
timfox Apr 24, 2009 4:44 AM (in response to jmesnil)"jmesnil" wrote:
src/config/non-clustered -> beans and configuration for (non-clustered) standalone
src/config/clustered -> beans and configuration for clustered standalone
src/config/jbossas/non-clustered/ -> beans for (non-clustered) AS 5 integration
src/config/jbossas/clustered -> beans for clustered AS 5 integration
I would prefer:
src/config/stand-alone/non-clustered -> beans and configuration for (non-clustered) standalone
src/config/stand-alone/clustered -> beans and configuration for clustered standalone
src/config/jbossas/non-clustered/ -> beans for (non-clustered) AS 5 integration
src/config/jbossas/clustered -> beans for clustered AS 5 integration
just to be symmetrical -
3. Re: Configuration layout
clebert.suconic Apr 24, 2009 4:49 AM (in response to jmesnil)For jbas, there is some stuff that could go on either clustered or non-clustered.
Shouldt we have a common dir? -
4. Re: Configuration layout
timfox Apr 24, 2009 4:53 AM (in response to jmesnil)I want to keep the configs completely separate.
Even if some things are the same now, such as beans files, they might not be in the future, and using a common dir just complicates things and makes them harder to change going ahead. -
5. Re: Configuration layout
gaohoward Apr 24, 2009 6:36 AM (in response to jmesnil)Is it possible that we just keep a single set of template configuration files and whoever needs a specific configuration could 'generate' it from the template?
We can consider 'velocity' for that purpose. or use ant filtered copy task. -
6. Re: Configuration layout
clebert.suconic Apr 24, 2009 12:26 PM (in response to jmesnil)There is a saying in Brazil that translates my feeling:
"The dog bitten by a snake fears sausage".
I had personally had hassles while handling auto-generated scripts based on a common template. At the end it took the team I was working at, more time to maintain the messy script than maintaining a few copies.
I could be a different experience now (Hence my reference to the brazilian saying)... but I feel a Dejavou when thinking about scripts like that. -
7. Re: Configuration layout
gaohoward Apr 26, 2009 6:48 PM (in response to jmesnil)That's true. :)
Chinese has a similar one, in English like:
Once got bitten by a snake, one will fear rope for ten years. -
8. Re: Configuration layout
timfox Apr 27, 2009 1:07 AM (in response to jmesnil)I have a saying:
"Developer who's task takes too long gets ass kicked by project lead".
And one specially for Clebert:
"Clebert gets ass kicked anyway"
;) -
9. Re: Configuration layout
jmesnil Apr 27, 2009 8:13 AM (in response to jmesnil)the new config layout has been committed.
To create the AS 5 profiles (default-with-jbm2 and all-with-jbm2), run ant from the distribution's config/jboss-as directory.