Thanks! Simon and Damian,

That's exactly what I want.

Best

Stan

On Wed, Mar 26, 2008 at 2:55 PM, simon <[EMAIL PROTECTED]> wrote:

>
> On Wed, 2008-03-26 at 14:23 -0400, Stanley Lee wrote:
> > For a plugin having configuration like
> > <configuration>
> >   <param1>foo</param1>
> >   <param2>bar</param2>
> > </configuration>
> >
> > Is it possible to set/change/override parameters through command-line? I
> > tried -DpluginName.param1=value1, but doesn't work. Any suggestions?
>
>  <configuration>
>   <param1>${val1}</param1>
>   <param2>${val2}</param2>
>  </configuration>
>
>  <properties>
>   <val1>foo</val1>
>   <val2>bar</val2>
>  </properties>
>
>
> Then foo and bar are the defaults, but
>  -Dval1=baz
> should override val1.
>
> Regards,
> Simon
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to