vmassol     01/08/24 09:03:21

  Modified:    cactus/conf/sample/build/servlet22 build.xml
  Log:
  * added dependency on Commons HttpClient
  * some more exact documentation
  
  Revision  Changes    Path
  1.6       +18 -9     jakarta-commons/cactus/conf/sample/build/servlet22/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/cactus/conf/sample/build/servlet22/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml 2001/08/19 17:13:38     1.5
  +++ build.xml 2001/08/24 16:03:21     1.6
  @@ -12,12 +12,18 @@
       <!ENTITY build-tests-enhydra-31 SYSTEM "file:./build-tests-enhydra-31.xml">
   ]>
   
  -<!-- 
  +<!--
     =============================================================================
       Build file for the Cactus Sample application. This is a sample build
       file that demonstrates how to integrate Cactus unit testing with Ant in
       order to automate the running of tests.
  -    
  +
  +    The following Ant tasks must be available in your ant installation
  +    (i.e. the Ant task themselves and their dependent jars need to be put
  +    in ANT_HOME/lib) :
  +
  +        junit                 [REQUIRED] For running the unit tests.
  +
       The following properties need to be set in a ./build.properties,
       ${user.home}/build.properties, a higher level build file, on the command
       line, ... :
  @@ -28,14 +34,17 @@
   
           junit.jar             [REQUIRED] The path to the JUnit jar file
   
  -        log4j.jar             [REQUIRED] The path to the Log4j jar file
  +        log4j.jar             [OPTIONAL] The path to the Log4j jar file.
  +                              Only needed if we want logs to be generated.
   
  +        httpclient.jar        [REQUIRED] The Commons HttpClient jar file
  +
           cactus.ant.jar        [REQUIRED] The path to the Cactus custom Ant
                                 tasks jar file
   
           test.port             [OPTIONAL] The port that should be used for
  -                              starting the servers during unit testing. This 
  -                              should be used not to interfere with other 
  +                              starting the servers during unit testing. This
  +                              should be used not to interfere with other
                                 running servers. The default is 8080.
   
       Additionally and depending on the servlet engines whith which you wish to
  @@ -45,20 +54,20 @@
   
       Example: For Resin 2.0, you'll need to have a "resin.home.20" property
       defined and pointing to the location where Resin 2.0 is installed.
  -             
  +
       This script should be started with the following command line :
   
           ant <target>
   
       Run "ant usage" to get a list of available targets. The default target is
       "war"
  -  ============================================================================= 
  +  =============================================================================
   -->
   <project name="Cactus Sample" default="war" basedir="..">
   
       &build-share;
   
  -    <!-- 
  +    <!--
          ========================================================================
            Help on usage. List available targets
          ========================================================================
  @@ -93,7 +102,7 @@
   
       </target>
   
  -    <!-- 
  +    <!--
          ========================================================================
            Run all Cactus tests for Servlet API 2.2
          ========================================================================
  
  
  

Reply via email to