ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bjorn Martensson" <>
Subject Starting several VM:s
Date Thu, 01 Feb 2001 11:17:41 GMT
I want to start a 3 stage server (3 java classes), but once the first server
class is started, ant seems to be suspended untill that server exits

Here's what the targets look like:

 <target name="fileServer">
    <echo message="Running the file server." />
    <java classname="examples.classServer.ClassFileServer"
classpath="${class path}"
	  fork="yes" dir="${package dir}">
      <arg line="2001 /Bjorn/bytecompiled"/>

  <target name="rmiJdbcServer" depends="fileServer">
    <echo message="Running the RMI JDBC server." />
    <java classname="RmiJdbc.RJJdbcServer" classpath="${class
	  fork="yes" dir="${package dir}">
      <jvmarg value="-Djava.rmi.server.codebase="
      <arg value="sun.jdbc.odbc.JdbcOdbcDriver" />

Has anyone had a similar problem or knows what I should do anyway?

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.230 / Virus Database: 111 - Release Date: 2001-01-25

View raw message