[Anthill-pro] problems with spawn fork in javaw task.

Ronald Barrett ronald.barrett at venyon.com
Mon Apr 28 09:56:05 CDT 2008


Hi all,
 
I am woking on an ant build file that is using the ant java task. I want
to be able to spawn a new task and then exit the build.xml.
 
This is the target I am using.
 
<java dir="${install.dir}/server/${config.name}/conf"
classname="org.jboss.Main" fork="true" spawn="true" >

<arg line=" -c ${config.name} "/>

<arg line=" -b ${jboss.bind.address} "/>

<jvmarg value="-server"/>

<jvmarg value="-Xms312m"/>

<jvmarg value="-Xmx312m"/>

<classpath>

<pathelement path="${install.dir}/bin/run.jar"/>

<pathelement path="${jdk_home}/lib/tools.jar"/>

</classpath>

</java>

 

 

This works on a linux machine but on a windows box the anthillpro
job/step hangs a the end. It shows a Build Successful but the indicator
is still running. The job can only be ended by aborting the job. Is this
a known issue? Can anyone help.

 

Thanks,

 

Ron Barrett

 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080428/b5337357/attachment-0001.htm


More information about the Anthill-pro mailing list