* @return The id of the newly created changelist
* @throws IOException In case of errors communicating with perforce server
*/
public int createNewChangeList() throws IOException {
try {
ChangelistSummary summary = new ChangelistSummary(IChangelist.UNKNOWN, client.getName(),
server.getUserName(), ChangelistStatus.NEW, new Date(),
"Artifactory release plugin", false);
IChangelist newChangeList = new Changelist(summary, server, false);
newChangeList = client.createChangelist(newChangeList);
newChangeList.update();