using Nant (for ex:default.build )its working fine and while using
<sourcecontrol type="vss"> its not working
Default.build file
-----------------------
<?xml version="1.0"?>
<project name="HRMSLatest" default="build" basedir="C:\NEW" >
<target name="build">
<vssget
username="hemantkumar"
password="deepuhemu"
localpath="C:\NEW"
recursive="true"
replace="true"
writable="true"
removedeleted="false"
dbpath="\\11.11.50.60\sgeth"
path="$/HRMS/DEVELOPMENT AREA/Source/SPAN.HRMS"
/>
<msbuild project="SPAN.HRMS.sln">
<property name="Configuration"
value="debug"/>
</msbuild>
</target>
</project>
On Feb 2, 7:24 pm, Ruben Willems <[email protected]> wrote:
> Hi
>
> is there an source safe client installed on the build server?
> so the dll's are registered correctly?
>
> if so, try getting the source from the build server with the same username
> and password
>
> with kind regards
> Ruben Willems
>
>
>
> On Mon, Feb 2, 2009 at 3:19 PM, Hem <[email protected]> wrote:
>
> > directly am getting latest version from VSS using same credentials.
>
> > On Feb 2, 7:14 pm, Ruben Willems <[email protected]> wrote:
> > > Hi
>
> > > can you do a get latest via the source safe client?
> > > maybe someone is repairing the database, or it is locked or so
>
> > > with kind regards
> > > Ruben Willems
>
> > > On Mon, Feb 2, 2009 at 3:12 PM, Hem <[email protected]>
> > wrote:
>
> > > > Am running ccnet as Console only.
>
> > > > On Feb 2, 7:02 pm, Ruben Willems <[email protected]> wrote:
> > > > > hi
>
> > > > > you have the following error : a time out
> > > > > ThoughtWorks.CruiseControl.Core.CruiseControlException:
> > > > > Source control operation has timed out.
>
> > > > > Do you run CCNet as a service, or as the console?
>
> > > > > I'm running CCNet with vss for some years now,
> > > > > and never had problems with it (CCNet that is, vss has problems)
>
> > > > > if you run it as a service, does the account that CCNet uses,
> > > > > has permission to go to the url specified?
>
> > > > > I would suggest to run ccnet first as a console, ruling out most
> > security
> > > > > issues
>
> > > > > with kind regards
> > > > > Ruben Willems
>
> > > > > On Mon, Feb 2, 2009 at 2:57 PM, Hem <[email protected]>
> > > > wrote:
>
> > > > > > Hi,
>
> > > > > > Am not able to get latest version from VSS using <sourcecontrol
> > > > > > type="vss"> in CCNet.config.
> > > > > > while running the CruiseControl.Net it will start process after
> > some
> > > > > > few seconds it will stand by some time (what ever time we given in
> > > > > > <timeout> section) after that time its showing below exception.
> > > > > > -----------------------------------------------
> > > > > > <cruisecontrol project="HRMSMS">
> > > > > > <request source="continuous"
> > buildCondition="ForceBuild">continuous
> > > > > > triggered a build (ForceBuild)</request>
> > > > > > <modifications />
> > > > > > <build date="2009-01-29 11:38:52" buildtime="00:18:08"
> > > > > > buildcondition="ForceBuild" />
> > > > > > <exception><![CDATA
> > > > > > [ThoughtWorks.CruiseControl.Core.CruiseControlException: Source
> > > > > > control operation has timed out.
> > > > > > at
>
> > ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute
> > > > > > (ProcessInfo processInfo)
> > > > > > at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vss.GetSource
> > > > > > (IIntegrationResult result)
> > > > > > at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build
> > > > > > (IIntegrationResult result)]]></exception>
> > > > > > </cruisecontrol>
> > > > > > -------------------------------------------------
> > > > > > My SourceControl & Tasks Block
> > > > > > --------------------------------------------------
> > > > > > <sourcecontrol type="vss">
> > > > > > <executable>C:\Program Files\Microsoft Visual Studio\VSS\win32
> > > > > > \SSEXP.EXE</executable>
> > > > > > <project>$/HRMS/DEVELOPMENT AREA/Source/SPAN.HRMS</project>
> > > > > > <username>abcdef</username>
> > > > > > <password>abcdef</password>
> > > > > > <ssdir>\\11.11.50.60\sgeth</ssdir>
> > > > > > <applyLabel>false</applyLabel>
> > > > > > <autoGetSource>true</autoGetSource>
> > > > > > <alwaysGetLatest>true</alwaysGetLatest>
> > > > > > <workingDirectory>C:\LATEST</workingDirectory>
> > > > > > <culture>en-US</culture>
> > > > > > <timeout units="minutes">20</timeout>
> > > > > > <cleanCopy>false</cleanCopy>
> > > > > > </sourcecontrol>
> > > > > > <tasks>
> > > > > > <msbuild>
> > > > > > <executable>C:\WINDOWS\Microsoft.NET\Framework
> > > > > > \v2.0.50727\MSBuild.exe</executable>
> > > > > > <workingDirectory>C:\01_VSS_NEW_LATEST\HRMS\DEVELOPMENT
> > AREA
> > > > > > \Source\SPAN.HRMS</workingDirectory>
> > > > > > <projectFile>SPAN.HRMS.sln</projectFile>
> > > > > > <timeout>900</timeout>
> > > > > > </msbuild>
> > > > > > </tasks>
>
> > --------------------------------------------------------------------
> > > > > > Please help me out from this issue .
>
> > > > > > Thanks in advance.- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -