Bug#330292: ant refuses to run in background

Wolfgang Baer WBaer at gmx.de
Tue Sep 27 20:37:55 UTC 2005


tags 330292 + upstream
forwarded 330292 http://issues.apache.org/bugzilla/show_bug.cgi?id=34461

thanks


Hi Carsten,

Carsten Pfeiffer wrote:
> On Tuesday 27 September 2005 12:13, Wolfgang Baer wrote:
> 
> Hi Wolfgang,
> 
> thanks for your quick reply!
> 
> 
>>Well, I cannot reproduce the problem here. I assume it must be some
>>other problem (maybe related to a specific task ...).
> 
> 
> Indeed, you're right. It's related to eclipse, either to Eclipse itself or to 
> the antRunner Task. I'm attaching two ant build-files. If you run build.xml, 
> it will launch an Eclipse workbench and start the antRunner with the second 
> buildfile (eclipse.xml).

I tested it - its the java task which fails to run in background if it is
forked. If it is not forked it will work in background. I attach a simple
testcase also for upstream. The bug is already reported upstream as

http://issues.apache.org/bugzilla/show_bug.cgi?id=34461

I will leave a comment and a reference to our debian bug in the upstream
bugtracker.

Please note that it is possible to vote for bugs in apache bugzilla. So
if you are interested in getting it resolved you should consider going
upstream to the bugzilla and vote for it.

Regards,
Wolfgang

Testcase
Compile HelloWorld.java and do the following:

ant test_notforked    -> will work
ant test_notforked &  -> will work
ant test_forked       -> will work
ant test_forked &     -> will fail


-------------- next part --------------
A non-text attachment was scrubbed...
Name: HelloWorld.java
Type: text/x-java
Size: 104 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20050927/483e0da6/HelloWorld.java
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.xml
Type: text/xml
Size: 245 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20050927/483e0da6/build.bin


More information about the pkg-java-maintainers mailing list