|
It works fine if and only if there is actually something in the specified
directory. If the directory doesn't exist, the ant task gives me a stack trace and then just hangs (doesn't exit, and doesn't use CPU). Here is what I see: [cactus] Adding Cactus client system property [cactus.servletRedirectorName] with value [ServletRedirector] [cactus] Adding Cactus server system property [cactus.contextURL] with value [null] [cactus] ----------------------------------------------------------------- [cactus] Running tests against Tomcat 5.0.18 [cactus] ----------------------------------------------------------------- [cactus] Starting up container C:\temp\cactus-test not found. at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner (AbstractFileSet.java:369) at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:483) at org.apache.cactus.integration.ant.container.AbstractContainer.cleanTempDirectory (AbstractContainer.java:462) at org.apache.cactus.integration.ant.container.AbstractContainer.prepareTempDirecto ry(AbstractContainer.java:421) at org.apache.cactus.integration.ant.container.tomcat.AbstractCatalinaContainer.pre pare(AbstractCatalinaContainer.java:225) at org.apache.cactus.integration.ant.container.tomcat.Tomcat5xContainer.startUp (Tomcat5xContainer.java:97) at org.apache.cactus.integration.ant.container.ContainerRunner$1.run (ContainerRunner.java:179) at java.lang.Thread.run(Thread.java:534) Ok, I think I've fixed it in CVS HEAD today. Please reopen if there's still a
problem. Thanks! |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
nightly build in a few hours.
Thanks
-Vincent