I try to configure CruiesControl in my machine...
the Configutation file has following content
--------------
in Config.xml:
--------------
<cruisecontrol>
<project name="Sample" >
<bootstrappers>
<vssbootstrapper <br /> serverpath="d:\VSS\LOCAL" <br /> ssdir="C:\Program Files\Microsoft Visual Studio\VSS\win32" <br /> vsspath="$/Sample" <br /> login="Admin" <br /> localdirectory="projects/Sample/checkout/sample"/>
</bootstrappers>
<listeners>
<currentbuildstatuslistener file="logs/${project.name}/status.txt" />
</listeners>
<bootstrappers />
<modificationset quietperiod="10" requiremodification="true">
<vss serverpath="d:\VSS\LOCAL" ssdir="C:\Program Files\Microsoft Visual Studio\VSS\win32" <br /> vsspath="$/Sample" <br /> login="Admin" />
</modificationset>
<schedule interval="60">
<
ant anthome="apache-ant-1.7.0" buildfile="projects/build-sample.xml" />
</schedule>
</project>
</cruisecontrol>
---------------------
In build-sample.xml :
---------------------
<project name="Sample" default="build"<br /> basedir="Sample">
<target name="build">
<vssget login="Admin"<br /> serverpath="d:\VSS\LOCAL"<br /> ssdir="C:\Program Files\Microsoft Visual Studio\VSS\win32"<br /> vsspath="$/Sample"<br /> localPath="checkout/Sample"<br /> recursive="true"<br /> writable="true" <br /> />
< !-- Call the target that does everything -->
<ant antfile="checkout/Sample/build.xml" target="clean"/>
<ant antfile="checkout/Sample/build.xml" target="compile"/>
<ant antfile="checkout/Sample/build.xml" target="jar"/>
</target>
</project>
----------------
Problem:
----------------
When i click "BUILD button" in CruiesControl website, the cruiescontrol is taking the build in the expected location.
But, when automatic buit (i.e. scheduler and modification set) is showing the follwoing error ( After the content change in the source file)
------------
Error:
------------
[cc]Mar-04 15:51:44 Vss - Getting modifications for $$/Sample
[cc]Mar-04 15:51:44 Vss - Command line to execute: "C:\Program Files\M
icrosoft Visual Studio\VSS\win32\SS.EXE" history $$/Sample -R -Vd03/04/08;03:51P
~03/04/08;02:10P -YAdmin -I-N -O$_Sample.tmp
[cc]Mar-04 15:51:44 Vss - The output filename begins with a non-alphab
etic character.
[cc]Mar-04 15:51:44 Vss - Use '@' to create output file $_Sample.tmp.
[cc]Mar-04 15:51:44 Vss - Problem occurred while attempting to get VSS
modifications. Returning empty modifications.
net.sourceforge.cruisecontrol.CruiseControlException: vss failed to create outpu
t file $_Sample.tmp
at net.sourceforge.cruisecontrol.sourcecontrols.Vss.parseTempFile(Vss.ja
va:214)
at net.sourceforge.cruisecontrol.sourcecontrols.Vss.getModifications(Vss
.java:189)
at net.sourceforge.cruisecontrol.ModificationSet.retrieveModificationsAs
Element(ModificationSet.java:221)
at net.sourceforge.cruisecontrol.Project.getModifications(Project.java:4
24)
at net.sourceforge.cruisecontrol.Project.build(Project.java:200)
at net.sourceforge.cruisecontrol.Project.execute(Project.java:149)
at net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.jav
a:385)
at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:
69)
at java.lang.Thread.run(Thread.java:534)
[cc]Mar-04 15:51:44 Project - Project Sample: No modifications found, bui
ld not necessary.
[cc]Mar-04 15:51:44 Project - Project Sample: idle
[cc]Mar-04 15:51:44 jectController- Sample Controller: build progress event: idl
e
[cc]Mar-04 15:51:44 Project - Project Sample: next build in 1 minutes
[cc]Mar-04 15:51:44 Project - Project Sample: waiting for next time to bu
ild
[cc]Mar-04 15:51:44 jectController- Sample Controller: build progress event: wai
ting for next time to build
Please healp me resolve the problem as soon as possible
Thanks in advance