add newlines to the feedback from jikes error messages

This commit is contained in:
benfry
2004-06-21 23:28:37 +00:00
parent 4aad33024c
commit 1aac1833a0
2 changed files with 7 additions and 7 deletions
+3 -2
View File
@@ -183,8 +183,9 @@ public class PdeCompiler implements PdeMessageConsumer {
* and line number, which is then reported back to PdeEditor.
*/
public void message(String s) {
//System.err.println("MSG: " + s);
System.err.print(s);
// This receives messages as full lines, so a newline needs
// to be added as they're printed to the console.
System.err.println(s);
// ignore cautions
if (s.indexOf("Caution") != -1) return;
+4 -5
View File
@@ -79,6 +79,10 @@ X was adding all folders in the classpath
X workaround for the // causing an OutOfMemoryError
X http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1067717095
040622 monday evening
X jikes errors have no newlines because it's a buffered reader
X and the newlines are removed when read
_ dashes shouldn't be allowed in filenames for sketches
_ actually, lost the naming stuff because now using FileDialog
_ this also needs to be checked when building the sketch menu
@@ -168,11 +172,6 @@ _ final stop() for static shutdown of lib
_ but also potential stop() for individual items
BUGS / PDE
_ jikes errors have no newlines because it's a buffered reader
_ and the newlines are removed when read
BUGS / preproc
_ preproc bug: text(String.valueOf(i+1), left + i*20, top);
_ unexpected token "String"