Bug#330292: ant refuses to run in background

Carsten Pfeiffer carsten.pfeiffer at first.fraunhofer.de
Tue Sep 27 09:35:37 UTC 2005


Package: ant
Version: 1.6.5-2
Severity: normal

Hi,

I'm running some Eclipse JUnit tests, that is, an ant-script checks out
the test-environment from CVS, builds Plugins, launches an Eclipse
workbench and runs the tests inside it.

With the ant 1.6.2 package (as in stable) this works perfectly, 1.6.5
however, can only be run in foreground.

I.e. when I start the script from the shell as

ant -f testrun.xml

it will work just fine. Starting it as

ant -f testrun.xml &

or background a foreground job with bg will quickly make it stop. The
ant process and its children get the 'T' state, as shown by ps or top.

I have to send a CONT signal several times to wake it up.

Starting the same ant-script automatically via cron works without a
hitch.

Cheers
Carsten


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.3
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

Versions of packages ant depends on:
ii  gij-3.3 [java1-runtime]       1:3.3.6-7  The GNU Java bytecode interpreter
pn  kaffe | java-virtual-machine  <none>     (no description available)
ii  libxerces2-java               2.6.2-3    Validating XML parser for Java 
wit
ii  sun-j2sdk1.4 [java2-runtime]  1.4.2+08   Java(TM) 2 SDK, Standard Edition,
ii  sun-j2sdk1.4debian [java2-run 0.18       Debian specific parts of Java(TM)

Versions of packages ant recommends:
pn  ant-optional                  <none>     (no description available)
ii  eclipse-javac [java-compiler] 2.1.3-4    Eclipse Java compiler and ant 
plug
ii  jikes                         1:1.22-3   Fast Java compiler adhering to 
lan
ii  sun-j2sdk1.4 [java-compiler]  1.4.2+08   Java(TM) 2 SDK, Standard Edition,
ii  sun-j2sdk1.4debian [java-comp 0.18       Debian specific parts of Java(TM)

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2045 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20050927/d9c68723/smime.bin


More information about the pkg-java-maintainers mailing list