From 77254f360c3db6aca9415ce48108d643f015aec1 Mon Sep 17 00:00:00 2001 From: benfry Date: Thu, 31 May 2012 14:39:12 +0000 Subject: [PATCH] change debug level of ant build --- app/src/processing/mode/android/AndroidBuild.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/processing/mode/android/AndroidBuild.java b/app/src/processing/mode/android/AndroidBuild.java index 33886442f..a966a4ea4 100644 --- a/app/src/processing/mode/android/AndroidBuild.java +++ b/app/src/processing/mode/android/AndroidBuild.java @@ -270,6 +270,8 @@ class AndroidBuild extends JavaBuild { // (which contains our friend processing-core.jar) unless your current // working directory is the same as the build file. So this is an unpleasant // workaround, at least until things are fixed or we hear of a better way. + // This was fixed in SDK 19 (and Processing revision 0205) so we've now + // disabled this portion of the code. protected boolean antBuild_dexworkaround() throws SketchException { try { // ProcessHelper helper = new ProcessHelper(tmpFolder, new String[] { "ant", target }); @@ -364,9 +366,9 @@ class AndroidBuild extends JavaBuild { consoleLogger.setErrorPrintStream(System.err); consoleLogger.setOutputPrintStream(System.out); // ? uncommented before // WARN, INFO, VERBOSE, DEBUG - //consoleLogger.setMessageOutputLevel(Project.MSG_ERR); + consoleLogger.setMessageOutputLevel(Project.MSG_ERR); // consoleLogger.setMessageOutputLevel(Project.MSG_INFO); - consoleLogger.setMessageOutputLevel(Project.MSG_DEBUG); +// consoleLogger.setMessageOutputLevel(Project.MSG_DEBUG); p.addBuildListener(consoleLogger); // This logger is used to pick up javac errors to be parsed into