title: CCnet preprocessor on dynamic parameters
body: <p>I'm very frustrated about a config problem in CCnet concerning parameter and preprocessor.
  It's hard to get some documentation on ccnet, and I fell like I'm on a bug so, I thought I could ask you guys :</p>
  
  <p>I need to separate the minor and major version inside a CCnet project</p>
  
  <p>This works great inside a task :</p>
  
  <pre><code>  &lt;cb:define version="1.25"&gt;&lt;/cb:define&gt;
  
    &lt;cb:define name="version2"&gt;
          &lt;cb:eval expr="'$(version)'.split('.')[0]" /&gt;
    &lt;/cb:define&gt;
  </code></pre>
  
  <p>I get a clean result of $(version2)  =  "1"  (version is splitted ok)</p>
  
  <p>BUT using parameters, it's not working :</p>
  
  <pre><code>&lt;cb:define name="version2"&gt;
      &lt;cb:eval expr="'$[versionParam]'.split('.')[0]" /&gt;
  &lt;/cb:define&gt;
  </code></pre>
  
  <p>If versionParam is "1.25", result is "1.25"</p>
  
  <p>No split is done. The param seems to be processed but not recognized as a string.</p>
  
  <p>Could someone please tell me what I'm doing wrong or perhaps a better way to do this ?</p>