-1
使用时,我们使用Ant的安全处理程序输入密码打印在明文密码:蚂蚁SecureInputHandler:与发球
<input message="Please enter TFS password: " addproperty="tfs.password">
<handler type="secure"/>
</input>
那当然,不工作:不打印输入。
当虽然(保存生成日志),我们运行构建为
ant | tee build.log
输入以明文形式打印出来。哎呀。
我想知道问题在哪里(ant?tee?)以及如何解决这个问题。
P.S.操作系统:
Linux devosb1 3.0.0-12-generiC#20-Ubuntu
SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
P.P.S.好的,所以它不是tee - 一个带有读取/回显而不是tee的shell脚本会触发相同的行为。
谢谢,伙计。我今天学到了一些新东西。 :-) – 2012-07-25 14:32:13