This patch is based on 4.0.0, but is probably identical
in 4.0.1 (I have not looked). It adds two command line
switches to org.jboss.Main which redirect out and err
to files. I wrote it so I could spawn JBoss using Ant
and specify where out and err should go, without using
platform specific command line munging.
Unfortunately, I'm not sure exactly how to create a
patch file. The following is the command I used. It
should be close, and the patch is really simple.
jboss-4.0.0-src/system/src/main$ diff
../../../../original/jboss-4.0.0-src/system/src/main/org/jboss/Main.java
org/jboss/Main.java
If you like it, and would like me to add some sanity
checking on the file names, or any make any other
changes, please let me know.
Thanks!
Bob
Diff of system/src/main/org/jboss/Main.java