I want to execute a command to perforce server from java application, but there is no API support adding global value
- Command to get all files from specific workspace
p4 -c P4CLIENT files //P4CLIENT/...@123456
- Current solution to execute a p4 cmd WITHOUT global value as below:
IOptionsServer server = ServerFactory.getOptionsServer(uri, defaultProps);
server.connect();
server.setUserName(username);
server.login(password);
server.execMapCmd(String string, String[] strings, Map<String, Object> map)
Is there anyway or other API can usse option -c P4CLIENT
?