I'm new to Cactus and didn't see an answer to this problem in the
mailing list archives...
I installed Cactus in Tomcat 5.5 and verified that the samples work
correctly. Now, I am trying to setup my Ant script to run my Cactus
tests. However whenever I run the target, Cactus tries to start Tomcat
5.5 even though it is already running. Of course this fails since
Tomcat's ports are already bound. Why does Cactus think it needs to
start Tomcat (i.e. how does it determine if Tomcat is running)?
On a sidenote, I'm noticing that cactifywar takes a long time to run
(a couple of minutes usually). Is there any way to speed this up?
Here is my Ant target:
<target name="qa-webapp"
depends="webapp-init"
description="run unit tests on the web application">
<cactifywar destfile="${webapp.cactus}"
srcfile="${webapp.war}"/>
<cactus warfile="${webapp.cactus}">
<classpath>
<path refid="classpath"/>
</classpath>
<containerset>
<tomcat5x dir="${container.home}"
todir="${reports.junit.xml}/"/>
</containerset>
<formatter type="xml"/>
<batchtest>
<fileset dir="${dir.build}">
<include name="**/TestSampleServlet.class"/>
</fileset>
</batchtest>
</cactus>
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]