Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
build doesn 't complete after tomcat starts

build doesn 't complete after tomcat starts

2007-05-23       - By swapnil_r_84
Reply:     1     2     3  


i am trying to start tomcat from ant. It does start but build never completes
after tomcat is started. After i shut down tomcat remaining build begins to
run(control comes back).

i want tomcat running & my ant targets to get executed completely till end:

<?xml version="1.0" encoding="ISO-8859-1"?>

<project name="insync-ibpc-1.0" basedir="." default="all">


<property name="tomcat.home" value="D:\\Tomcat 5.5" />

<target name="Selenium1">

<exec dir="${tomcat.home}/bin"
executable="${tomcat.home}/bin/shutdown.bat"/>

<!-- start the tomcat-->
<exec dir="${tomcat.home}/bin"
executable="${tomcat.home}/bin/startup.bat"/>

</target>

<target name="Selenium11" depends="Selenium1">
<taskdef resource="selenium-ant.properties">
   <classpath>
       <pathelement location="selenium-server.jar"/>
   </classpath>
</taskdef>
<selenese
   suite="tests/myTestSuite.html"
   browser="*firefox"
   results="results.html"
   multiWindow="true"
   timeoutInSeconds="900"
   startURL="http://localhost:8080" />
</target>


</project>


Please help.
--
View this message in context: http://www.nabble.com/build-doesn%27t-complete
-after-tomcat-starts-tf3802838.html#a10760296
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.