I am new to Microsoft visual source ant task. I am trying to checkout
using ant.There is also get for vss.what is the difference ? . what is
the right syntax
<target name="buildvss">
<delete dir="checkout/project3" failonerror="false" />
<vsscheckout vsspath="$//nyctcmma10\devvss\Timeinc\TCM"
localpath="c:\cvssource\checkout\project3"
recursive="true"
login="rao,time204"/>
</target>
C:\cvssource>ant -debug -f cc-build.xml buildvss
Apache Ant version 1.6.2 compiled on July 16 2004
Buildfile: cc-build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.4 in: C:\bea815\jdk142_08\jre
Detected OS: Windows XP
Adding reference: ant.ComponentHelper
Setting ro project property: ant.version -> Apache Ant version 1.6.2
compiled on
July 16 2004
Setting ro project property: ant.file -> C:\cvssource\cc-build.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile C:\cvssource\cc-build.xml with URI =
file:///C:/cvssource/cc-b
uild.xml
Setting ro project property: ant.project.name -> cc-build
Adding reference: cc-build
Setting ro project property: ant.file.cc-build ->
C:\cvssource\cc-build.xml
Project base dir set to: C:\cvssource
+Target:
+Target: build
+Target: buildbosprint
+Target: buildvss
Build sequence for target `buildvss' is [buildvss]
Complete build sequence is [buildvss, buildbosprint, build, ]
buildvss:
[delete] Deleting directory C:\cvssource\checkout\project3
[delete] Deleting directory C:\cvssource\checkout\project3
Created dir: C:\cvssource\checkout\project3
Execute:CommandLauncher: Executing 'cmd' with arguments:
'/c'
'cd'
'/d'
'C:\cvssource'
'&&'
'ss'
'Checkout'
'$//nyctcmma10\devvss\Timeinc\TCM'
'-GLC:\cvssource\checkout\project3'
'-I-'
'-R'
''
'-Yraosr,time2004'
''
''
''
The ' characters around the executable and arguments are
not part of the command.
[vsscheckout] 'ss' is not recognized as an internal or external command,
[vsscheckout] operable program or batch file.
BUILD FAILED
C:\cvssource\cc-build.xml:38: Failed executing: ss Checkout
$//nyctcmma10\devvss
\Timeinc\TCM -GLC:\cvssource\checkout\project3 -I- -R -Yraosr,********
With
a return code of 1
at
org.apache.tools.ant.taskdefs.optional.vss.MSVSS.execute(MSVSS.java:1
88)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)