You are viewing a plain text version of this content. The canonical link for it is here.
Posted to watchdog-dev@jakarta.apache.org by cr...@apache.org on 2001/08/10 03:04:09 UTC

cvs commit: jakarta-watchdog-4.0/src/conf build.xml

craigmcc    01/08/09 18:04:08

  Modified:    src/conf build.xml
  Log:
  Pass down settings for "host" and "port" properties so that you can test
  against Tomcat standalone or with apache (ant -Dport=80 servlet).
  
  Revision  Changes    Path
  1.2       +7 -0      jakarta-watchdog-4.0/src/conf/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/conf/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	2001/07/20 23:07:56	1.1
  +++ build.xml	2001/08/10 01:04:08	1.2
  @@ -1,6 +1,11 @@
   <project name="Run Watchdog Test Suite" default="all">
   
   
  +  <!-- =============== Default Pass Through Properties ================== -->
  +
  +   <property name="host" value="localhost" />
  +   <property name="port" value="8080" />
  +    
     <!-- ================= Create Execution Classpath ===================== -->
   
     <path id="execute.classpath">
  @@ -54,6 +59,8 @@
   
       <java classname="org.apache.tools.ant.Main" fork="true">
         <classpath refid="execute.classpath"/>
  +      <arg value="-Dhost=${host}"/>
  +      <arg value="-Dport=${port}"/>
         <arg value="-buildfile"/>
         <arg value="${execute.build}"/>
         <arg value="${execute.target}"/>