Merge remote-tracking branch 'origin/master'

This commit is contained in:
anna
2012-05-04 14:03:43 +02:00
2 changed files with 4 additions and 2 deletions
@@ -31,6 +31,7 @@ public class BuildMain {
private static final Logger LOG = Logger.getInstance("#org.jetbrains.jps.cmdline.BuildMain");
public static void main(String[] args){
System.out.println("Build process started. Classpath: " + System.getProperty("java.class.path"));
final String host = args[0];
final int port = Integer.parseInt(args[1]);
final UUID sessionId = UUID.fromString(args[2]);
@@ -64,10 +65,11 @@ public class BuildMain {
}
else {
final Throwable reason = future.getCause();
System.err.println("Error connecting to " + host + ":" + port + "; reason: " + (reason != null? reason.getMessage() : "unknown"));
if (reason != null) {
System.err.println("Error connecting to " + host + ":" + port + "; " + reason.getMessage());
reason.printStackTrace(System.err);
}
System.err.println("Exiting.");
System.exit(-1);
}
}
@@ -181,7 +181,7 @@ public class IncProjectBuilder {
}
catch (Throwable e) {
ourClenupFailed = true;
LOG.info(e);
//LOG.info(e);
}
}