That is probably because the parameter is not set by the time it gets to 
the task.  Build order is slightly weird with these configuration files.  I 
would try defining templates for a specific set of actions and then 
applying them, in order, so as to have what you need initialized before it 
is used.

On Wednesday, October 16, 2013 9:36:03 AM UTC-6, idMaxCZ wrote:
>
> Hi, I trying setup some parameter based logic in my ccnet project and I am 
> probably stuck on this issue: 
>
> My configuration:
> ...
> <parameters>
> <selectParameter>
> <name>Tag</name>
> <allowedValues>
> <value name="Yes">Yes</value>
> <value name="No">No</value>
> </allowedValues>
> <display>Create Tag in repository?</display>
> </selectParameter>
> </parameters>
> ...
> <tasks>
> <cb:if expr="'$[Tag]' == 'Yes'">
> <msbuild>
>               < some task > 
> </msbuild>
> </cb:if>
> </tasks>
>
> Unfortunately when I choice Yes parameter on Force build then msbuild not 
> started and I cannot find what is wrong i on my configuration.
>
> I have CCNET 1.8.4.0.
>
> Can you help me please? 
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ccnet-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to