Hi,
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
(never).
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"/>
</java>
</target>
<target name="rmiJdbcServer" depends="fileServer">
<echo message="Running the RMI JDBC server." />
<java classname="RmiJdbc.RJJdbcServer" classpath="${class
path}/RmiJdbc.jar"
fork="yes" dir="${package dir}">
<jvmarg value="-Djava.rmi.server.codebase=http://192.168.0.25:2001/"
/>
<arg value="sun.jdbc.odbc.JdbcOdbcDriver" />
</java>
</target>
Has anyone had a similar problem or knows what I should do anyway?
Regards
Bjorn
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.230 / Virus Database: 111 - Release Date: 2001-01-25