Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#546 System.set(Out|Err) from Main

v4.0
open
nobody
5
2004-12-03
2004-12-03
Robert Bushman
No

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

Discussion

  • Robert Bushman
    Robert Bushman
    2004-12-03

    Diff of system/src/main/org/jboss/Main.java

     
    Attachments