Bug#330292: ant refuses to run in background

Wolfgang Baer WBaer at gmx.de
Tue Sep 27 10:13:44 UTC 2005


Hi Carsten,

Carsten Pfeiffer wrote:
> 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.

Beside your problem: For Junit tests you have to install ant-optional,
as we had a ant reorganization and in the ant package there are only
the core tasks now.

> 
> 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. 

Well, I cannot reproduce the problem here. I assume it must be some
other problem (maybe related to a specific task ...).

Please provide us the testrun.xml file so we can test it ourself
and see what tasks are you using. Also please give us information
which JDK (non-free or free) you are using for ant execution.

Simple build files with normal core tasks targets are running for
me in the background without problems.

Please also test the attached simple buildfile to see if a simple
buildfile will succeed in your setup.

Thanks,

Wolfgang




-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.xml
Type: text/xml
Size: 102 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20050927/5c604320/build.bin


More information about the pkg-java-maintainers mailing list