Hi
I need to start rmiregistry (under <java_home>/bin/rmiregistry.exe) inside
my ant script.
I have following target for that
<!--
start rmi registry
-->
<target name="startrmiregistry" depends="loadmember">
<echo message="Starting RMI registry on port 1099"/>
<exec dir="${src.dir}/test/scripts" executable="sh">
<arg line="startRmiRegistry"/>
</exec>
<echo message="RMI registry started"/>
</target>
and startRmiRegistry looks like this:
------------>
#!/bin/sh
echo "Starting RMI registry on port $port"
rmiregistry 1099 &
sleep 5
echo "RMI registry started"
<------------
This doesn't work because. Ant hangs after starting the rmiregistry.
Is there any other way to do it?
Thanks
Kashyap
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>