ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: <java> task in backgraound
Date Fri, 16 Apr 2004 09:54:42 GMT
<java spawn="true"> like the manual sais (1.6).

Jan

> -----Original Message-----
> From: Ivan Ivanov [mailto:rambiusparkisanius@yahoo.com]
> Sent: Friday, April 16, 2004 9:02 AM
> To: Ant Users List
> Subject: <java> task in backgraound
> 
> 
> Dear colleagues, 
> I created the foloowing task to start tomcat:
>     <target name="start-tomcat" depends="-init"
> description="Starts Tomcat">
>         <java
> classname="org.apache.catalina.startup.Bootstrap"
> fork="yes" failonerror="yes">
>             <classpath>
>                 <pathelement
> location="${catalina.home}/bin/bootstrap.jar"/>
>             </classpath>
>             <arg value="start"/>
>             <sysproperty key="catalina.home"
> value="${catalina.home}"/>
>         </java>
>     </target>
> 
> It works pretty well, but when I invoke it, it blocks
> the console in which I started it. How can I configure
> it to run in background?
> 
> Both Ant 1.5.3 and Ant 1.6.0 solution wil be
> appreciated.
> 
> Regards Ivan
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online by April 15th
> http://taxes.yahoo.com/filing.html
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message