I found my own solution.  It has nothing to do with the version of
AccuRev.  Apparently when upgrading or installing a new version of
AccuRev you have to specify the login user in your build
configuration.  Here is the CC block I'm talking about:

<sourcecontrol type="accurev">
  <autoGetSource>true</autoGetSource>
  <executable>accurev.exe</executable>
  <homeDir>.</homeDir>
  <labelOnSuccess>false</labelOnSuccess>
  <login>false</login>
  <password>banana</password>
  <principal>joe_user</principal>
  <timeout units="minutes">10</timeout>
  <workspace>.</workspace>
</sourcecontrol>

Most of the time you do not need to specify the principal and userid
but after an upgrade it needs to be specified.

On Jan 18, 9:09 am, Helmut <[email protected]> wrote:
> Has anyone upgrade to AccuRev 5.0?  I just performed the upgrade and
> my CC projects will no longer build.  I get the following error:
>
> <exception><![CDATA
> [ThoughtWorks.CruiseControl.Core.CruiseControlException: Source
> control operation failed: The minimum length of the argument for the -
> s option is 1 .
> . Process command: accurev.exe hist -a -s "" -t "2010/01/18
> 08:37:38-2010/01/18 07:00:00"
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute
> (ProcessInfo processInfo)
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.GetModif­ications
> (ProcessInfo info, DateTime from, DateTime to)
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.AccuRev.GetModifications
> (IIntegrationResult from, IIntegrationResult to)
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.FilteredSourceControl.GetModi­fications
> (IIntegrationResult from, IIntegrationResult to)
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications
> (ISourceControl sourceControl, IIntegrationResult lastBuild,
> IIntegrationResult thisBuild)
>    at
> ThoughtWorks.CruiseControl.Core.IntegrationRunner.GetModifications
> (IIntegrationResult from, IIntegrationResult to)
>    at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate
> (IntegrationRequest request)]]></exception>
>
> Any help would be appreciated.

Reply via email to