Hi, I wonder if anybody has experienced the same? I'm on a unix/linux system, and trying to run simply:
I have a foreach task calling a target: <foreach list="${foo}" target="callme" parallel="${test.parallel}" maxThreads="100" param="myparam"/> that target calls a java as follows: <java dir="mydir" classname="some.class" fork="true"> </java> When I run ant, it works as expected When I run ant & (i.e. in the background), it does not work The foreach gets called and so does the java, but the java never runs I have run an strace on ant -verbose & and got the following: [java] Executing '/usr/java/j2sdk1.4.2_08/jre/bin/java' with arguments: [java] ... more debug here about the arguments, then [java] The ' characters around the executable and arguments are [java] not part of the command. ) = -1 EINTR (Interrupted system call) --- SIGTTIN (Stopped (tty input)) @ 0 (0) --- --- SIGTTIN (Stopped (tty input)) @ 0 (0) --- --- SIGTTIN (Stopped (tty input)) @ 0 (0) --- --- SIGTTIN (Stopped (tty input)) @ 0 (0) --- --- SIGTTIN (Stopped (tty input)) @ 0 (0) --- --- SIGTTIN (Stopped (tty input)) @ 0 (0) --- --- SIGTTIN (Stopped (tty input)) @ 0 (0) --- futex(0x83a5088, FUTEX_WAIT, 1, NULL Anybody else get the same, or know why it doesn't work in the background? Ant 1.6.5, latest ant-contrib, java 1.4.2_08 Cheers -Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]