在 ..\ccnet\server里配置了 ccnet.config 如下:
<sourcecontrol type="vss">
<ssdir>F:\program files\vss\</ssdir>
<executable>\\dsi_coolbug\vss\win32\SS.EXE</executable>
<project>$/newp/test2</project>
<username>coolbug</username>
<password>******</password>
<workingDirectory>d:\newtest</workingDirectory> //到底指哪个目录?
</sourcecontrol>
<build type="nant">
<executable>D:\software\nant\nant85\bin\nant.exe</executable>
<baseDirectory>c:\test</baseDirectory>
<buildArgs>-D:cvs.executable=c:\putty\cvswithplinkrsh.bat</buildArgs> //此是何意
<buildFile>default.build</buildFile> //我指的是<baseDirectory>c:\test</baseDirectory>里的目录,default.build文件是得到远程的 VSS 服务器里的文件,并且solution 得到的文件
<targetList>
<target>run</target>
</targetList>
<buildTimeoutSeconds>300</buildTimeoutSeconds>
</build>
<tasks>
<merge>
<file>c:\fromcvs\myrepo\myproject\build\tests\*-results.xml</file>//此是何意?
</merge>
</tasks>
望同仁指明,多谢. 给一个实际的代码也行 ,让我参考参考.
<sourcecontrol type="vss">
<ssdir>F:\program files\vss\</ssdir>
<executable>\\dsi_coolbug\vss\win32\SS.EXE</executable>
<project>$/newp/test2</project>
<username>coolbug</username>
<password>******</password>
<workingDirectory>d:\newtest</workingDirectory> //到底指哪个目录?
</sourcecontrol>
<build type="nant">
<executable>D:\software\nant\nant85\bin\nant.exe</executable>
<baseDirectory>c:\test</baseDirectory>
<buildArgs>-D:cvs.executable=c:\putty\cvswithplinkrsh.bat</buildArgs> //此是何意
<buildFile>default.build</buildFile> //我指的是<baseDirectory>c:\test</baseDirectory>里的目录,default.build文件是得到远程的 VSS 服务器里的文件,并且solution 得到的文件
<targetList>
<target>run</target>
</targetList>
<buildTimeoutSeconds>300</buildTimeoutSeconds>
</build>
<tasks>
<merge>
<file>c:\fromcvs\myrepo\myproject\build\tests\*-results.xml</file>//此是何意?
</merge>
</tasks>
望同仁指明,多谢. 给一个实际的代码也行 ,让我参考参考.