Hi there
I'm using BC2.exe as an executable task with in my cruisecontrol
application to build and deploy .NET projects.

There is a section of my code in CruiseControl which calls a batch
file which in turns calls Beyond compare.


Code:
<executable>C:\Sourcesafe\WAP\Release.bat</executable>
<buildArgs>Server01 WAPtest</buildArgs>
<baseDirectory>C:\Sourcesafe\WAP\</baseDirectory>Within the
release.bat file, there is a section of code which calls the BC2.exe
which reads as follows


Code:
"C:\Program Files\Beyond Compare 2\BC2.exe" /SILENT @BCScript.txt
%1The contents of my BCScript is as follows


Code:
 option confirm:yes-to-all
 load "%tempfolder%" "\\%1\z$\"
 filter "-\twin\;-\base\"
 log verbose
 expand all
 select all
 compare binary
 select left.diff.all left.orphan.all left.newer.files
 copyto lt path:relative "%tempfolder%\patch""%tempfolder%" is a
temporary folder created by the release2.bat file which is publish of
the site after the build.

CruiseControl builds stop when it comes to following line
"C:\Program Files\Beyond Compare 2\BC2.exe" /SILENT @BCScript.txt %1

with an error message saying Invalid number of parameters

can u explain what is wrong with the BCScript i've written

any help is much appreciated

regards

Reply via email to