Hi,

I think I've already seen threads on this but is there a way to successfully start 
Tomcat from Ant without hanging the Ant script?  I'm trying to dynamically use 
HttpUnit to test JSP's and need to bounce Tomcat  so it picks up changes to the JSP's, 
however when I start Tomcat from the script, the script hangs.  Of course once it 
hangs, stopping Tomcat is pretty much out of the question. From what I've read, it 
appears that there's not a way this can be done successfully.  

I've already tryed this: I set JAVA_HOME, and CATALINA_HOME for this task in a batch 
file.  (The script actually is being run from CruiseControl.)

<propertyname="tomcat.bin.dir" value="<my tomcat home>/bin"/>

<target name="startTomcat" description="starts Tomcat">   

    <exec dir="${tomcat.bin.dir}" executable="cmd" os="Windows 2000">
       <arg value="/c startup.bat"/>
    </exec>

</target>

I'm hanging as well so any input would be appreciated...Peter



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to