Ant target to check out from Visual Source safe
I need to write a ant target to checkout VSS proj开发者_JS百科ect from a vss lable to the local machine. lets say VSS username 'bob' and password '123' and the vss project name is ANT_TEST. Lable I want check out is V.1.0 to local folder E:\ANTTEST. Can some one pls guid me to do that.
Take a look at the Microsoft Visual SourceSafe Tasks.
They are optional tasks, so you might have to add libraries to your ant installation if the task is not found. In the event that they are not already installed, details about optional tasks can be found here.
<vsscheckout vsspath="$/ANT_TEST"
localpath="D:\ANTTEST"
label="V.1.0"
recursive="true"
login="bob,123"/>
Ant has VSS tasks. It sounds like the vsscheckout
task would do what you need. Perhaps:
<vsscheckout vsspath="$/ANT_TEST"
localpath="E:\ANTTEST"
recursive="true"
label="V.1.0"
login="bob,123"/>
精彩评论