使用p4java-2011.297684与对给定文件的Solaris
ServerFactory.setRpcFileSystemHelper(新MySystemFileCommandsHelper());
..。
公共类MySystemFileCommandsHelper实现ISystemFileCommandsHelper {
..。
公共布尔setExecutable(字符串文件,布尔可执行文件,布尔ownerOnly) { file f=新文件(文件);System.out.println(“调用. 2");返回f.setExecutable(可执行文件,ownerOnly);}
. }
但也没有运气;我也没有看到任何记录或印刷。
是否有控制SystemFileCommandsHelper使用的设置或属性?
提前谢谢。
发布于 2011-12-31 02:09:48
所讨论的文件的Perforce文件类型是什么?我认为它应该对text+x或binary+x文件正确工作,但是看起来存在一个错误,其中unicode文件(文件类型为unicode+x)无法设置可执行位。
https://stackoverflow.com/questions/8674763
复制相似问题