ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Collins" <scoll...@bea.com>
Subject RE: <java> task in backgraound
Date Thu, 06 May 2004 17:27:08 GMT

Where is stderr and stdout redirect by the spawned java process since output and error attributes
of the java task are not supported?

Thanks
-Steve

> -----Original Message-----
> From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
> Sent: Friday, April 16, 2004 3:55 AM
> To: user@ant.apache.org
> Subject: RE: <java> task in backgraound
> 
> 
> <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
> > 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message