开发者

sync via p4java api

开发者 https://www.devze.com 2022-12-21 02:16 出处:网络
What fields should be set in the FileSpec object passed into IClient.sync in the perforce java API? I\'ve set:

What fields should be set in the FileSpec object passed into IClient.sync in the perforce java API?

I've set:

  1. The pathname passed to the constructor to the abs path/... of the local workspace
  2. setClient(myIClient)
  3. the action to FileAction.SYNC

No exc开发者_如何学运维eption is thrown, but one IFileSpec comes back in the result, and it complains that the client 'unknownclient' is (not surprisingly) unknown.


Sounds like you forgot to call:

    IClient client = server.getClient(clientName);
    server.setCurrentClient(client);
0

精彩评论

暂无评论...
验证码 换一张
取 消