![](/img/trans.png)
[英]Determine max changelistId in Perforce checkout using p4java client
[英]Using P4JAVA with JDK6 on Unix: Client.sync() ignores the execute bit
我還嘗試實現自己的ISystemFileCommandsHelper並將其注冊(與默認設置相對):
ServerFactory.setRpcFileSystemHelper(new MySystemFileCommandsHelper());
...
公共類MySystemFileCommandsHelper實現ISystemFileCommandsHelper {
...
public boolean setExecutable(String file, boolean executable, boolean ownerOnly) { File f = new File(file); System.out.println("Calling... 2"); return f.setExecutable(executable, ownerOnly); }
...}
但也沒有運氣; 我也看不到任何記錄或打印的內容。
是否存在控制SystemFileCommandsHelper使用的設置或屬性?
提前致謝。
有問題的文件的Perforce文件類型是什么? 我認為它對於text + x或binary + x文件應該正確運行,但是似乎存在一個錯誤,其中unicode文件(文件類型unicode + x )沒有設置可執行位。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.