From b5ab214e0280732a8fbe1e83c8603b3e581ce3b8 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Wed, 31 Aug 2011 22:53:37 +0200 Subject: Print commands as they are processed. --- org/madore/damlengine/DamlEngine.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org/madore/damlengine/DamlEngine.java b/org/madore/damlengine/DamlEngine.java index 874a220..8b0b63d 100644 --- a/org/madore/damlengine/DamlEngine.java +++ b/org/madore/damlengine/DamlEngine.java @@ -129,7 +129,8 @@ public final class DamlEngine { while ( ( line = buf.readLine() ) != null ) { if ( Pattern.matches("^\\s+$", line) ) continue; - else if ( (matcher=Pattern.compile("process\\s+(\\S+)(?:\\s+\\>\\s*(\\S+))?\\s*").matcher(line)).matches() ) { + System.err.println(line); + if ( (matcher=Pattern.compile("process\\s+(\\S+)(?:\\s+\\>\\s*(\\S+))?\\s*").matcher(line)).matches() ) { String inf = matcher.group(1); String outf = matcher.group(2); InputStream in = new FileInputStream(inf); -- cgit v1.2.3