<?xml version="1.0"?>

<!DOCTYPE project [
    <!ENTITY build-share SYSTEM "file:./scripts/build-share.xml">
    <!ENTITY build-tests-tomcat4x SYSTEM "file:./scripts/build-tests-tomcat4x.xml">
    <!ENTITY build-tests-jboss3x SYSTEM "file:./scripts/build-tests-jboss3x.xml">
    <!ENTITY build-tests-resin2x SYSTEM "file:./scripts/build-tests-resin2x.xml">
    <!ENTITY build-tests-orion1x SYSTEM "file:./scripts/build-tests-orion1x.xml">
    <!ENTITY build-tests-weblogic7x SYSTEM "file:./scripts/build-tests-weblogic7x.xml">
    <!ENTITY build-tests-weblogic6x SYSTEM "file:./scripts/build-tests-weblogic6x.xml">
]>

<!--
  =============================================================================
    Generic build file for executing Cactus tests. This Ant script is expected
    to be called from another Ant script, using the <ant> task. 

    The following Ant properties need to be passed to this script:

        cactus.home.[container]    Location where the container is installed

        cactus.port                [OPTIONAL] Port on which to start the 
                                   containers (Default is 8080)

        cactus.target.dir          [OPTIONAL] Tmp directory for Cactus 
                                   operations
        
        cactus.war                 Location of the war to cactify        

        cactus.src.dir             Location of Cactus java source files
        
        cactus.src.includes        [OPTIONAL] List of Cactus java test files
                                   to include in the test. Defaults to
                                   "**/*Test*.java".

        cactus.src.excludes        [OPTIONAL] List of Cactus java test files
                                   to exclude in the test. Defaults to
                                   "**/AllTests.java".

        cactus.jvm                 [OPTIONAL] JVM to use when running java
                                   Ant tasks. Default is "java". Other possible
                                   value is: "javaw" (windows). Note: This is
                                   for example to prevent a shell from opening
                                   on windows platform when this Ant script
                                   is called from a java application that has
                                   no shell.

        cactus.context             [OPTIONAL] Webapp context to use for the
                                   cactified war. Defaults to "cactustest".
                                   
    The following Ant references need to be passed to this script:
    
        cactus.classpath           [OPTIONAL] The classpath reference for 
                                   running junit on the client side. Only
                                   needed if special jars need to be on the
                                   classpath        
                                   
  =============================================================================
-->
<project name="Cactus Executor" default="cactus.init" basedir=".">

    &build-share;

    &build-tests-tomcat4x;
    &build-tests-jboss3x;
    &build-tests-resin2x;
    &build-tests-orion1x;
    &build-tests-weblogic7x;
    &build-tests-weblogic6x;

</project>
