+
+ stdout = new ByteArrayOutputStream()
+ stderr = new ByteArrayOutputStream()
+ if (jalviewjs_j2s_to_console.equals("true")) {
+ standardOutput = new org.apache.tools.ant.util.TeeOutputStream(
+ stdout,
+ System.out)
+ errorOutput = new org.apache.tools.ant.util.TeeOutputStream(
+ stderr,
+ System.err)
+ } else {
+ standardOutput = stdout
+ errorOutput = stderr
+ }