Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Perforce 在Unix上使用P4JAVA和JDK6:Client.sync()忽略执行位 在Solaris上使用p4java-2011.1.297684和Java 6 在给定文件上运行p4 sync-f将与正确设置的执行位同步文件 调用client.sync(List、true、false、false、false)不会设置执行位_Perforce_P4java - Fatal编程技术网

Perforce 在Unix上使用P4JAVA和JDK6:Client.sync()忽略执行位 在Solaris上使用p4java-2011.1.297684和Java 6 在给定文件上运行p4 sync-f将与正确设置的执行位同步文件 调用client.sync(List、true、false、false、false)不会设置执行位

Perforce 在Unix上使用P4JAVA和JDK6:Client.sync()忽略执行位 在Solaris上使用p4java-2011.1.297684和Java 6 在给定文件上运行p4 sync-f将与正确设置的执行位同步文件 调用client.sync(List、true、false、false、false)不会设置执行位,perforce,p4java,Perforce,P4java,我还尝试实现自己的ISystemFileCommandsHelper并注册它(与默认设置相反): setRpcFileSystemHelper(新的MySystemFileCommandsHelper()) 公共类MySystemFileCommandsHelper实现ISystemFileCommandsHelper{ 。。。 } 但也没有运气;我也没有看到任何记录或打印的内容 是否有控制SystemFileCommandsHelper使用的设置或属性 提前感谢。问题文件的性能文件类型是什

我还尝试实现自己的ISystemFileCommandsHelper并注册它(与默认设置相反):

setRpcFileSystemHelper(新的MySystemFileCommandsHelper())

公共类MySystemFileCommandsHelper实现ISystemFileCommandsHelper{

。。。 }

但也没有运气;我也没有看到任何记录或打印的内容

是否有控制SystemFileCommandsHelper使用的设置或属性


提前感谢。

问题文件的性能文件类型是什么?我认为对于文本+x或二进制+x文件,它应该可以正常工作,但似乎存在一个错误,unicode文件(文件类型unicode+x)不会设置可执行位。

此文件被标记为ASCII文本;i、 嗯,我不能在FedoraLinux系统上重现这个问题。(我无法轻松访问Solaris设备。)可能值得向Performce支持部门咨询一下。
public boolean setExecutable(String file, boolean executable, boolean ownerOnly) {
    File f = new File(file);

    System.out.println("Calling... 2");
    return f.setExecutable(executable, ownerOnly);
}