How on earth do you run tests against an existing Tomcat 4 server

2008-08-22 Thread Paul Kiruvanayagam
Hi all please can someone tell me how to run tests in cactus against an EXISTING tomcat4x server using ant. I am running cactus 1.80 ivy 2.0 ant 1.71. I have been exasperated in getting to the point where it works by creating a new build of tomcat using cargo ??? Sorry if I appear lazy

Re: How on earth do you run tests against an existing Tomcat 4 server

2008-08-22 Thread Petar Tahchiev
Hi Paul, I think it would be very simple if you just replace the zipurlinstaller (which downloads and installs zips) withe a home parameter of the cargo task - just like in: containerset cargo containerId=${jboss.container.id} output=${logs.dir}/output.log

Re: How on earth do you run tests against an existing Tomcat 4 server

2008-08-22 Thread Paul Kiruvanayagam
Hi Peter thanks for your speedy reply. I am guessing I should replace ${jboss.container.id} with the value of ${cactus.contextURL} or do I not use the cactus.contextURL variable thanks Paul Petar Tahchiev wrote: Hi Paul, I think it would be very simple if you just replace the

Re: How on earth do you run tests against an existing Tomcat 4 server

2008-08-22 Thread Petar Tahchiev
You containerId should be tomcat4x, if you want to use Tomcat 4x. This is what containerId means - the id of the container you want to use. If you use Ant and Cactus task, you shouldn't set the cactus.contextURL property. You use this property only if you start your tests with Maven. Cheers,