Reputation: 100042
What fields should be set in the FileSpec object passed into IClient.sync in the perforce java API?
I've set:
No exception is thrown, but one IFileSpec comes back in the result, and it complains that the client 'unknownclient' is (not surprisingly) unknown.
Upvotes: 2
Views: 1364
Reputation: 23138
Sounds like you forgot to call:
IClient client = server.getClient(clientName);
server.setCurrentClient(client);
Upvotes: 2