Thanks!  That worked!

I guess I was confused because in other configuration elements I was
able to use the dynamic value without needing a dynamicValues node.
Like this:

<sourcecontrol type="svn">
  <trunkUrl>https://x/svn/branches/$[branchName]</trunkUrl>
</sourcecontrol>


On Sep 10, 2:20 pm, Joyce Dorsch <[email protected]> wrote:
> You have to define your dynamic values inside the labeller.  Your code block
> should look like this:
>
> <labeller type="lastChangeLabeller">
>     <prefix>branch-$[branchName]_</prefix>
>     <allowDuplicateSubsequentLabels>false</allowDuplicateSubsequentLabels>
>     <dynamicValues>
>         <directValue>
>             <property>prefix</property>
>             <parameter>branchName</parameter>
>         </directValue>
>     <dynamicValues>
> </labeller>
>
>
>
> On Fri, Sep 10, 2010 at 12:42 AM, sectrean <[email protected]> wrote:
> > I'm not able to get the labeller to use the value of a dynamic
> > parameter.
>
> > This is the applicable section from my config file:
>
> > <labeller type="lastChangeLabeller">
> >  <prefix>branch-$[branchName]_</prefix>
> >  <allowDuplicateSubsequentLabels>false</
> > allowDuplicateSubsequentLabels>
> > </labeller>
>
> > I'm able to use the value in other configuration sections so I know
> > it's configured properly.  I've tried using the shorthand and the full
> > syntax.  The $CCNetLabel value is always "branch-_xxxx".
>
> > I'm running version 1.5.7233.5.  Am I just doing this wrong or is this
> > fixed in a newer build?
>
> > Thanks,
> > John

Reply via email to