summaryrefslogtreecommitdiffstats
path: root/org
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2011-08-31 22:53:37 +0200
committerDavid A. Madore <david+git@madore.org>2011-08-31 22:53:37 +0200
commitb5ab214e0280732a8fbe1e83c8603b3e581ce3b8 (patch)
tree8390ba47296e827183d4cf3ca563a85cadfa1a63 /org
parent057a46982292c765e664f886097fdaf33ed22a62 (diff)
downloaddamlengine-b5ab214e0280732a8fbe1e83c8603b3e581ce3b8.tar.gz
damlengine-b5ab214e0280732a8fbe1e83c8603b3e581ce3b8.tar.bz2
damlengine-b5ab214e0280732a8fbe1e83c8603b3e581ce3b8.zip
Print commands as they are processed.
Diffstat (limited to 'org')
-rw-r--r--org/madore/damlengine/DamlEngine.java3
1 files changed, 2 insertions, 1 deletions
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);