You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Bret Kumler <bk...@goldengate.com> on 2006/09/15 19:35:12 UTC
cargo in cactus
I have this ant target.
<target name="startTomcat">
<cargo-tomcat5x homeDir="${tomcat-dist.dir}"
output="${target.testreport.dir}/output.log"
log="${target.testreport.dir}/cargo.log" action="start">
<configuration>
<property name="cargo.servlet.port" value="8180"/>
<property name="cargo.logging" value="high"/>
<war warFile="war" warfile="${test.dir}/test.war"/>
</configuration>
</cargo-tomcat5x >
</target>
I noticed it kills the server automatically after the target is called.
startTomcat:
[echo] Starting Cargo...
[echo] Using tomcat.home = C:\Tools\tomcat-5.0.28
[echo] Using war = C:\test\test.war
BUILD SUCCESSFUL
Total time: 1 minute 20 seconds
Why doesn't it leave the server running?
I didn't call <cargo-tomcat5x homeDir="${tomcat-dist.dir}"
action="stop"/>
I want to start the tomcat container and have it running so I can run
some Selenium tests against my web app.
This e-mail message and any attachments may contain private, confidential, proprietary or privileged material of GoldenGate Software, Inc. that is for the sole use of the intended recipient(s) of this e-mail message. Any review, copying or distribution or other use of this e-mail message or any attachments hereto by anyone other than the intended recipient(s) is strictly prohibited. If you are not the intended recipient(s) of this e-mail message, please contact GoldenGate Software, Inc. (415-777-0200) immediately and permanently delete the original e-mail message and any copies of this e-mail message and all attachments, if any.