ant 目标 vssget 不起作用
当我运行 ant 目标 vssbuild 时,它给出以下错误。
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
我已将系统路径设置为 ss.exe。
下面我展示了我的蚂蚁目标。
<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>
有人可以帮我解决这个问题吗
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它可能不是相同的错误,但它显示了需要做什么才能让 ant 找到
ss.exe
。接下来我会尝试设置 ssdir 属性(如果系统路径技巧没有帮助)。您可能想要
构建脚本中的PATH
变量 - 也许ant
看到一些不同的内容。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 thessdir
property next (if the system path trick didn't help).And you may want to
<echo>
thePATH
variable in your build script - maybeant
sees some different content.