I have had the same problems in the past and I have been able to
resolve it by making my build account have a presistent login.
AccuRev login -n userid password.

As far as your stram specification, I always specify a workspace for
my builds. Here is an example

    <buildpublisher>
      <sourceDir>C:\Work\sc_beta_build\Projects\RecurringTasks
\Edfinancial.RecurringTasks\AccountExpirationTask\bin\Beta\</
sourceDir>
      <publishDir>\\StageWebApps1\Projects\RecurringTasks
\Edfinancial.RecurringTasks\AccountExpirationTask\</publishDir>
      <useLabelSubDirectory>false</useLabelSubDirectory>
    </buildpublisher>

sourceDir points to the location of my workspace (directory
structure).  All of my workspaces are at c:\work\......

Hopefully this will help.

Helmut.

On Jun 14, 11:54 am, "v.oliennikov" <[email protected]>
wrote:
> Hi All,
>
> I cannot set up AccuRev with CruiseControl.NET. I always have the next
> exception:
> 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/06/14
> 12:10:25-2010/06/14 12:10:14"
>
> I think it's a non specified AccuRev stream but i don't how to specify
> the accurev stream via CruiseControl.NET.
>
> Please see my ccnet.config:
> <cruisecontrol>
>     <project>
>       <name>Project</name>
>       <sourcecontrol type='accurev'>
>         <dynamicValues>false</dynamicValues>
>         <autoGetSource>true</autoGetSource>
>         <executable>accurev.exe</executable>
>         <homeDir>C:\Program Files\AccuRev\bin</homeDir>
>         <workspace>D:\AccuRev\BuildMachine</workspace>
>         <labelOnSuccess>false</labelOnSuccess>
>         <login>true</login>
>         <principal>login</principal>
>         <password>Pass</password>
>       </sourcecontrol>
>
>       <tasks>
>         <devenv>
>           <solutionfile>D:\AccuRev\BuildMachine\Solution\Solution.sln</
> solutionfile>
>           <configuration>Debug</configuration>
>           <buildtype>Build</buildtype>
>           <!--<project>MyProject</project>-->
>           <executable>c:\Program Files (x86)\Microsoft Visual Studio
> 9.0\Common7\IDE\devenv.com</executable>
>           <buildTimeoutSeconds>1000</buildTimeoutSeconds>
>         </devenv>
>       </tasks>
>       <publishers>
>          <statistics />
>          <xmllogger />
>       </publishers>
>     </project>
>   </cruisecontrol>
>
> How Can I specify AccuRev stream?
>
> Thanks,
> Volodymyr

Reply via email to