* of an <code>InterruptedException</code> to output the stack
* trace.
* @param po a <code>ProgressObject</code> value
*/
protected static void waitForProgress(PrintWriter out, ProgressObject po) {
po.addProgressListener(new ProgressListener() {
String last = null;
public void handleProgressEvent(ProgressEvent event) {
String msg = event.getDeploymentStatus().getMessage();
if(last != null && !last.equals(msg)) {
System.out.println(DeployUtils.reformat(last,8,72)); //todo: use the same writer as DeployTool