commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-commons-sandbox/daemon/src/native/nt/procrun/java Test.java
Date Fri, 07 Feb 2003 07:05:12 GMT
mturk       2003/02/06 23:05:12

  Added:       daemon/src/native/nt/procrun/java Test.java
  Log:
  Initial version.
  
  Revision  Changes    Path
  1.1                  jakarta-commons-sandbox/daemon/src/native/nt/procrun/java/Test.java
  
  Index: Test.java
  ===================================================================
  import java.io.*;
  import java.lang.*;
  
  public class Test implements Runnable {
      public static void main (String args[]) {
          Thread t = new Thread( new Test());
          t.run();
      } 
      public void run(){     
          try {
          System.out.println("Simple Stdout message");
          System.err.println("Simple Stderr message");
          Thread.sleep(5000);
          } catch( Throwable t ) {
              t.printStackTrace(System.err);
          }         
      }
  } 
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message