Thanks. Using spawn it worked!


RADEMAKERS Tanguy wrote:
> 
> Hello,
> 
> Just off the top of my head, but did you look into using the spawn
> attribute of the exec task?
> 
> Regs,
> /t
> 
>>-----Original Message-----
>>From: swapnil_r_84 [mailto:[EMAIL PROTECTED] 
>>Sent: Wednesday, May 23, 2007 11:21 AM
>>To: [email protected]
>>Subject: build doesn't complete after tomcat starts
>>
>>
>>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-sta
> rts-tf3802838.html#a10760296
>>Sent from the Ant - Users mailing list archive at Nabble.com.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to