|
|
|
|
@@ -242,27 +242,43 @@
|
|
|
|
|
<ant:path refid="cactus.classpath"/>
|
|
|
|
|
</ant:classpath>
|
|
|
|
|
<containerset>
|
|
|
|
|
|
|
|
|
|
<!-- TODO: Find how to set the port for JBoss 3x -->
|
|
|
|
|
<jboss3x if="cactus.home.jboss3x"
|
|
|
|
|
dir="${cactus.home.jboss3x}"
|
|
|
|
|
output="${cactus.reports.dir}/jboss3x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/jboss3x"
|
|
|
|
|
config="${cactus.jboss3x.config.name}"/>
|
|
|
|
|
config="${cactus.jboss3x.config.name}">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
</jboss3x>
|
|
|
|
|
|
|
|
|
|
<orion1x if="cactus.home.orion1x"
|
|
|
|
|
dir="${cactus.home.orion1x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/orion1x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/orion1x"/>
|
|
|
|
|
todir="${cactus.reports.dir}/orion1x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
</orion1x>
|
|
|
|
|
|
|
|
|
|
<orion2x if="cactus.home.orion2x"
|
|
|
|
|
dir="${cactus.home.orion2x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/orion2x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/orion2x"/>
|
|
|
|
|
todir="${cactus.reports.dir}/orion2x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
</orion2x>
|
|
|
|
|
|
|
|
|
|
<resin2x if="cactus.home.resin2x"
|
|
|
|
|
dir="${cactus.home.resin2x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/resin2x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/resin2x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
<j:if test="${context.getVariable('cactus.resin2x.config') != null}">
|
|
|
|
|
<ant:setProperty name="resinconf" value="${cactus.resin2x.config}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
@@ -272,6 +288,9 @@
|
|
|
|
|
dir="${cactus.home.tomcat4x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/tomcat4x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/tomcat4x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tomcat4x.config') != null}">
|
|
|
|
|
<ant:setProperty name="serverxml" value="${cactus.tomcat4x.config}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
@@ -289,6 +308,9 @@
|
|
|
|
|
dir="${cactus.home.tomcat5x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/tomcat5x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/tomcat5x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tomcat5x.config') != null}">
|
|
|
|
|
<ant:setProperty name="serverxml" value="${cactus.tomcat5x.config}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
@@ -306,6 +328,9 @@
|
|
|
|
|
dir="${cactus.home.weblogic7x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/weblogic7x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/weblogic7x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
<j:if test="${context.getVariable('cactus.weblogic7x.beahome') != null}">
|
|
|
|
|
<ant:setProperty name="beahome" value="${cactus.weblogic7x.beahome}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
@@ -325,7 +350,7 @@
|
|
|
|
|
for several containers -->
|
|
|
|
|
|
|
|
|
|
<!-- Consolidate the reports into a single -->
|
|
|
|
|
<ant:junitreport todir="${maven.build.dir}"
|
|
|
|
|
<ant:junitreport todir="${cactus.reports.dir}"
|
|
|
|
|
tofile="TESTS-TestSuites-Cactus.xml">
|
|
|
|
|
|
|
|
|
|
<j:if test="${context.getVariable('cactus.home.jboss3x') != null}">
|
|
|
|
|
@@ -411,27 +436,43 @@
|
|
|
|
|
<ant:path refid="cactus.classpath"/>
|
|
|
|
|
</ant:classpath>
|
|
|
|
|
<containerset>
|
|
|
|
|
|
|
|
|
|
<!-- TODO: Find how to set the port for JBoss 3x -->
|
|
|
|
|
<jboss3x if="cactus.home.jboss3x"
|
|
|
|
|
dir="${cactus.home.jboss3x}"
|
|
|
|
|
output="${cactus.reports.dir}/jboss3x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/jboss3x"
|
|
|
|
|
config="${cactus.jboss3x.config.name}"/>
|
|
|
|
|
config="${cactus.jboss3x.config.name}">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
</jboss3x>
|
|
|
|
|
|
|
|
|
|
<orion1x if="cactus.home.orion1x"
|
|
|
|
|
dir="${cactus.home.orion1x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/orion1x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/orion1x"/>
|
|
|
|
|
todir="${cactus.reports.dir}/orion1x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
</orion1x>
|
|
|
|
|
|
|
|
|
|
<orion2x if="cactus.home.orion2x"
|
|
|
|
|
dir="${cactus.home.orion2x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/orion2x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/orion2x"/>
|
|
|
|
|
todir="${cactus.reports.dir}/orion2x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
</orion2x>
|
|
|
|
|
|
|
|
|
|
<resin2x if="cactus.home.resin2x"
|
|
|
|
|
dir="${cactus.home.resin2x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/resin2x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/resin2x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
<j:if test="${context.getVariable('cactus.resin2x.config') != null}">
|
|
|
|
|
<ant:setProperty name="resinconf" value="${cactus.resin2x.config}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
@@ -441,6 +482,9 @@
|
|
|
|
|
dir="${cactus.home.tomcat4x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/tomcat4x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/tomcat4x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tomcat4x.config') != null}">
|
|
|
|
|
<ant:setProperty name="serverxml" value="${cactus.tomcat4x.config}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
@@ -458,6 +502,9 @@
|
|
|
|
|
dir="${cactus.home.tomcat5x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/tomcat5x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/tomcat5x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tomcat5x.config') != null}">
|
|
|
|
|
<ant:setProperty name="serverxml" value="${cactus.tomcat5x.config}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
@@ -475,6 +522,9 @@
|
|
|
|
|
dir="${cactus.home.weblogic7x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/weblogic7x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/weblogic7x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
<j:if test="${context.getVariable('cactus.weblogic7x.beahome') != null}">
|
|
|
|
|
<ant:setProperty name="beahome" value="${cactus.weblogic7x.beahome}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
@@ -520,27 +570,43 @@
|
|
|
|
|
<ant:path refid="cactus.classpath"/>
|
|
|
|
|
</ant:classpath>
|
|
|
|
|
<containerset>
|
|
|
|
|
|
|
|
|
|
<!-- TODO: Find how to set the port for JBoss 3x -->
|
|
|
|
|
<jboss3x if="cactus.home.jboss3x"
|
|
|
|
|
dir="${cactus.home.jboss3x}"
|
|
|
|
|
output="${cactus.reports.dir}/jboss3x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/jboss3x"
|
|
|
|
|
config="${cactus.jboss3x.config.name}"/>
|
|
|
|
|
config="${cactus.jboss3x.config.name}">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
</jboss3x>
|
|
|
|
|
|
|
|
|
|
<orion1x if="cactus.home.orion1x"
|
|
|
|
|
dir="${cactus.home.orion1x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/orion1x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/orion1x"/>
|
|
|
|
|
todir="${cactus.reports.dir}/orion1x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
</orion1x>
|
|
|
|
|
|
|
|
|
|
<orion2x if="cactus.home.orion2x"
|
|
|
|
|
dir="${cactus.home.orion2x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/orion2x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/orion2x"/>
|
|
|
|
|
todir="${cactus.reports.dir}/orion2x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
</orion2x>
|
|
|
|
|
|
|
|
|
|
<resin2x if="cactus.home.resin2x"
|
|
|
|
|
dir="${cactus.home.resin2x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/resin2x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/resin2x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
<j:if test="${context.getVariable('cactus.resin2x.config') != null}">
|
|
|
|
|
<ant:setProperty name="resinconf" value="${cactus.resin2x.config}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
@@ -550,6 +616,9 @@
|
|
|
|
|
dir="${cactus.home.tomcat4x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/tomcat4x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/tomcat4x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tomcat4x.config') != null}">
|
|
|
|
|
<ant:setProperty name="serverxml" value="${cactus.tomcat4x.config}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
@@ -567,6 +636,9 @@
|
|
|
|
|
dir="${cactus.home.tomcat5x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/tomcat5x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/tomcat5x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tomcat5x.config') != null}">
|
|
|
|
|
<ant:setProperty name="serverxml" value="${cactus.tomcat5x.config}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
@@ -584,6 +656,9 @@
|
|
|
|
|
dir="${cactus.home.weblogic7x}" port="${cactus.port}"
|
|
|
|
|
output="${cactus.reports.dir}/weblogic7x.out"
|
|
|
|
|
todir="${cactus.reports.dir}/weblogic7x">
|
|
|
|
|
<j:if test="${context.getVariable('cactus.tmp.dir') != null}">
|
|
|
|
|
<ant:setProperty name="tmpdir" value="${cactus.tmp.dir}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
<j:if test="${context.getVariable('cactus.weblogic7x.beahome') != null}">
|
|
|
|
|
<ant:setProperty name="beahome" value="${cactus.weblogic7x.beahome}"/>
|
|
|
|
|
</j:if>
|
|
|
|
|
@@ -635,7 +710,7 @@
|
|
|
|
|
description="Generate a report from the test results">
|
|
|
|
|
|
|
|
|
|
<doc:jsl
|
|
|
|
|
input="${maven.build.dir}/TESTS-TestSuites-Cactus.xml"
|
|
|
|
|
input="${cactus.reports.dir}/TESTS-TestSuites-Cactus.xml"
|
|
|
|
|
output="cactus-report.xml"
|
|
|
|
|
stylesheet="${plugin.resources}/cactus.jsl"
|
|
|
|
|
outputMode="xml"
|
|
|
|
|
|