admin@glassfish.java.net

Re: cli command ++

From: Carla Mott <carla.mott_at_oracle.com>
Date: Mon, 24 May 2010 17:02:49 -0700

ok. I know that cluster.java uses a decorator so I will look at that.

Thanks,
Carla

Jerome Dochez wrote:
> I am in the process of documenting all this, I will publish a wiki page tonight so you should look for answers there. I will send the link when it's ready.
> you will need a decorator since you want to add multiple elements in 1 command.
>
> On May 24, 2010, at 3:47 PM, Carla Mott wrote:
>
>
>> Hi,
>>
>> I'm working on a command where I want the resulting xml in domain.xml to look like:
>> <nodes>
>> <node name="ssh_node" host="gf1.sfbay.sun.com" glassfish-home="/export/gf">
>> <ssh-connector port="22">
>> <ssh-auth type="key" username="dipol" keyfile="~/.ssh/id_dsa" />
>> </ssh-connector>
>> </node>
>> </nodes>
>>
>> I can create nodes and node element but now am trying to figure out how to add the ssh-connector and ssh-auth elements.
>> Is there an example that I can look at? I know there are other pieces of code that do this but I'm not sure which one to use a a model.
>>
>> Thanks,
>> Carla
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>
>