if(!isSameMachine) {
AbstractDeployCommand progress = new AbstractDeployCommand(CommandType.DISTRIBUTE, kernel, null, null, null, null, false) {
public void run() {
}
};
progress.addProgressListener(new ProgressListener() {
public void handleProgressEvent(ProgressEvent event) {
log.info(event.getDeploymentStatus().getMessage());
}
});
RemoteDeployUtil.uploadFilesToServer(args, progress);