ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <rambiusparkisan...@yahoo.com>
Subject <java> task in backgraound
Date Fri, 16 Apr 2004 07:02:25 GMT
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
View raw message