jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-watchdog-4.0/src/tools/org/apache/tomcat/task GTest.java
Date Fri, 28 Sep 2001 04:09:56 GMT
craigmcc    01/09/27 21:09:56

  Modified:    src/tools/org/apache/tomcat/task GTest.java
  Log:
  Make GTest extend Ant's "Task" base class so that it doesn't get
  invalidated when underlying things change (as they did in Ant 1.4).
  
  Revision  Changes    Path
  1.3       +4 -2      jakarta-watchdog-4.0/src/tools/org/apache/tomcat/task/GTest.java
  
  Index: GTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/tools/org/apache/tomcat/task/GTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- GTest.java	2001/08/09 23:38:11	1.2
  +++ GTest.java	2001/09/28 04:09:56	1.3
  @@ -9,10 +9,12 @@
   import java.io.*;
   import java.util.*;
   import java.net.*;
  +import org.apache.tools.ant.BuildException;
  +import org.apache.tools.ant.Task;
   
   
   // derived from Jsp
  -public class GTest  {
  +public class GTest extends Task {
       String prefix="http://localhost:8080/test";
       String host="localhost";
       int port=8080;
  @@ -242,7 +244,7 @@
   	   //parseHeader( s, requestHeaders );
       }
       
  -    public void execute() throws Exception {
  +    public void execute() throws BuildException {
   	
   	try {
   
  
  
  

Mime
View raw message