when I run the ant target vssbuild it gives following error.
D:\release>ant vssbuild Buildfile:
build.xml
vssbuild: [vssget] 'ss' is not
recognized as an internal or external
command, [vssget] operable program
or batch file.
BUILD FAILED
D:\release\build.xml:141:
Failed executi ng: ss Get $(project)
-GLD:\release\$(lo
calpath) -I- -R
-Y$(vssusername),************** With a return code of 1
I have set the system path to ss.exe.
below I have shown my ant target.
<property name="localpath" value="checkout" />
<property name="project" value="$/NewGen/NextGenComm" />
<property name="vssusername" value ="ganukep" />
<property name="vsspassword" value ="123"/>
<property name="projectlabel" value = "2011.05.20_V1.0.0" />
<target name="vssbuild">
<vssget vsspath="$(project)"
localpath="$(localpath)"
recursive="true"
login="$(vssusername),$(vsspassword)"
/>
</target>
Can some one pls help me to solve this issue
It may not be the same error but it shows what needs to be done so that ant can find
ss.exe. I’d try setting thessdirproperty next (if the system path trick didn’t help).And you may want to
<echo>thePATHvariable in your build script – maybeantsees some different content.