Cactus Properties dIon Gillard Vincent Massol
Property Optional? Description
cactus.home.[container name] At least one container

Home directory of where you have installed the container on which you wish to run the Cactus tests. Valid container names are: tomcat4x, tomcat5x, resin2x, orion1x, orion2x and jboss3x.

cactus.src.dir Yes

Location of the Cactus test cases. Default value is src/test-cactus.

cactus.port Yes

Port on which to start the containers. Default value is 8080.

cactus.src.includes Yes

Lists of test classes that will be executed. Default value is **/*Test*.java.

cactus.src.excludes Yes

Lists of classes that will be excluded in the tests. Default value is **/AllTests.java,**/Test*All.java.

cactus.junit.usefile Yes

Decides whether the test result will be printed to the console or not. Default value is false, meaning errors will be displayed on the console.

cactus.reports.dir Yes

Location of junit test reports for the Cactus tests. Default value is ${cactus.target.dir}/test-cactus-reports.

cactus.halt.on.error Yes

Decides whether to stop the build on test errors. Default value is true.

cactus.halt.on.failure Yes

Decides whether to stop the build on test failures Default value is true.

cactus.src.mergewebxml Yes

Location of a test-specific web.xml file that will be merged with the application web.xml, during the War cactification. Note that by default the cactification already adds the Cactus redirector definitions.Decides whether to stop the build on test failures. Example: cactus.src.mergewebxml = ${basedir}/src/conf/cactus-web.xml.

maven.cactus.printsummary Yes

How summary information on test should be printed to the console. This property has the same meaning as the printsummary attribute of the JUnit Ant task. Default value is maven.cactus.printsummary = withOutAndErr.

Property Optional? Description
cactus.jboss3x.config.name Yes

Name of the JBoss server configuration to use. Default value is default.

Property Optional? Description
cactus.resin2x.config Yes

Location of the Resin 2.x configuration file if you don't want to use the cactus-provided one.

Property Optional? Description
cactus.tomcat4x.config Yes

Location of the Tomcat 4.x configuration file if you don't want to use the cactus-provided one.

cactus.tomcat4x.conf.dir Yes

Location of custom Tomcat 4.x configuration file that will be copied, overwriting the Cactus-provided configuration files.

cactus.tomcat4x.conf.includes Yes

Configuration files located at ${cactus.tomcat4x.conf.dir that should be included in the Tomcat 4.x container set up by Cactus.

cactus.tomcat4x.conf.excludes Yes

Configuration files located at ${cactus.tomcat4x.conf.dir that should not be included in the Tomcat 4.x container set up by Cactus.

cactus.tomcat4x.tmpdir Yes

Directory to which the container will be installed for the tests. By default the system temporary directory is used.

Property Optional? Description
cactus.tomcat5x.config Yes

Location of the Tomcat 5.x configuration file if you don't want to use the cactus-provided one.

cactus.tomcat5x.conf.dir Yes

Location of custom Tomcat 5.x configuration file that will be copied, overwriting the Cactus-provided configuration files.

cactus.tomcat5x.conf.includes Yes

Configuration files located at ${cactus.tomcat5x.conf.dir that should be included in the Tomcat 5.x container set up by Cactus.

cactus.tomcat5x.conf.excludes Yes

Configuration files located at ${cactus.tomcat5x.conf.dir that should not be included in the Tomcat 5.x container set up by Cactus.

cactus.tomcat5x.tmpdir Yes

Directory to which the container will be installed for the tests. By default the system temporary directory is used.

Property Optional? Description
cactus.weblogic7x.beahome Yes

Location of BEA HOME. If not specified it defaults to the parent directory of cactus.home.weblogic7x.