Hi Julien,

Did you ever figure out how to make this work?

I have just downloaded the latest version (CruiseControl.NET Server
1.6.7981.1) and I am trying to use the "synchronised" block - yes,
you're right the docs are wrong - and I am running into the same
issue.

It appears that the "timeout" parameter is not recognised. The XML
file is parsed correctly without this but I'm not sure the default
300s will be enough for me, so I need this to work.

Thanks
Phil



On May 25, 1:31 pm, Julien Bilavarn <[email protected]>
wrote:
> Hi all,
>
> Apologies if this is not right place fot this, but I encountered some
> issues while trying to use the Synchronisation Context task, refering
> to the following documentation 
> :http://confluence.public.thoughtworks.org/display/CCNET/Synchronisati...
>
> First of all, I discovered that the documentation is wrong, because
> the task block name specified (<sequential>) does not refer to the
> right task. After some researches, I find out that that the right tag
> to use was <synchronised>, is that correct ?
>
> Then I started testing it on my CruiseControl.NET-1.6.7981.1 server
> and it works fine ... untill the moment I tried to set a time value.
>
>     <synchronised continueOnFailure="true" description="Run all tasks"
> context="RunAllOneByOne" timeout="120">
>         <tasks>
>             ...
>         </tasks>
>     </synchronised>
>
> The server can not be started, returning the following error :
>
>     [CCNet Server:ERROR] Exception:
>     Unable to instantiate CruiseControl projects from configuration
> document.
>     Configuration document is likely missing Xml nodes required for
> properly populating CruiseControl configuration.
>     Unable to find reflector type for 'Nullable`1' when deserialising
> 'timeout'
>     Xml: timeout="120"
>
> Is that a known issue ? Is there a way to fix it ?
> Thank you for your help !
>
> Julien.

Reply via email to