Tim Colson wrote:
I'm going nuts. I've been trying to get ANT to re-deploy a webapp to Tomcat 5 via AnthillPro. Works from command line, but hangs AnthillPro.
A little background... I first tried the ant-tomcat tasks to simply undeploy/deploy but the Flex app (inside util.war) has problems undeploying - there is a directory filled with jars that cannot be removed. So I decided to just stop tomcat, wipe out the directory and redeploy...
It all works... the build is a success... but Anthillpro hangs at the end. :-(
I just don't get it. (I've tried exec with startup and startup-using-launcher... with and without spawn. It really does need spawn, otherwise it understandibly does not finish the build process.
A hint: the Tomcat tasks are more trouble than they are worth. They don't work.
I just run tomcat in a console window and restart it whenever I redeploy. Slower, but it's consistently correct. If you installed the Tomcat service you can use the control panel to start/stop (but I prefer the console so that I can see what's going on).
Better yet use Resin (http://www.caucho.com) which is faster to start and stop. It has a control panel also (no service install, however).
- Drew
-- +---------------------------------+ < Drew Davidson | OGNL Technology > +---------------------------------+ | Email: [EMAIL PROTECTED] / | Web: http://www.ognl.org / | Vox: (520) 531-1966 < | Fax: (520) 531-1965 \ | Mobile: (520) 405-2967 \ +---------------------------------+
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]