Kedar Mhaswade wrote:
>> Is there a more detailed spec for exactly what is done when the button
>> is pushed?
> Spec, well a spec of sorts --
> http://wiki.glassfish.java.net/gfwiki/Wiki.jsp?page=ProvidingClusterSupport2DeveloperDomains
According to that spec, you're actually depending on the *name* of a
profile that includes cluster support. I've said several times I
think it's a bad idea to have any builtin knowledge of the names of
any profiles. As you know, we're having a separate discussion about
changing the names of the profiles. I would not want such a change
to break this code.
If you want to externalize the default-config details, instead of wiring
it into the code as you've done for the other changes, I suggest you
have a template file used only for the purposes of this operation,
separate from any profile template files.