ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guan, Kelly" <>
Subject RE: start tomcat in ant
Date Tue, 09 Oct 2001 00:52:11 GMT
thanks, yep, i manage to pass that problem,because I was using ant 1.3,
and vmlauncher=false doesn't work. So it launch the vm somehow. 
And now get to the same stage as you are working on : 
try to pass the ant block while tomcat is running too.
no luck yet. 

-----Original Message-----
From: Art Blake []
Sent: Monday, October 08, 2001 5:18 PM
Subject: RE: start tomcat in ant

I asked a similar question a few days ago, but didn't get any responses.
am not getting an IOException however.

These three methods of starting tomcat work for me, but every single one
causes ant to block while tomcat is running.  I am trying to get ant to
start tomcat, and continue running.

    <!-- set environment variables to properties prefixed to env -->
    <property environment="env"/>

    <!--1 -->

    <exec dir="${env.TOMCAT_HOME}/bin" executable="startup.bat"

    <!--2 -->

    <exec dir="${env.TOMCAT_HOME}/bin" executable="cmd.exe">
      <arg line="/c startup.bat"/>

    <!--3 -->

    <exec dir="${env.TOMCAT_HOME}/bin" executable="cmd.exe">
      <arg line="/c start startup.bat"/>

good luck

-----Original Message-----
From: Guan, Kelly []
Sent: Monday, October 08, 2001 7:10 PM
Subject: start tomcat in ant

sorry if anyone get this email twice.

I am trying to start tomcat in ant, and I am using :
<exec dir="c:/tomcat/bin" executable="startup" os="Windows 2000"
failonerror="true" />

I get IOException thrown by JVM.

Anyone can give me some idea how to get over this problem?

Really appreciated.


View raw message