Bug 53238 - <junit fork="true"> task stuck on input stream
Summary: <junit fork="true"> task stuck on input stream
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.8.2
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Depends on:
Reported: 2012-05-16 07:03 UTC by Peter De Maeyer
Modified: 2012-05-16 07:03 UTC (History)
1 user (show)

Thread dump of stuck ant task (6.65 KB, text/plain)
2012-05-16 07:03 UTC, Peter De Maeyer

Note You need to log in before you can comment on or make changes to this bug.
Description Peter De Maeyer 2012-05-16 07:03:23 UTC
Created attachment 28784 [details]
Thread dump of stuck ant task

My junit ant tasks in fork="true" are stuck on input streams.

This problem has been described for java and exect tasks as  https://issues.apache.org/bugzilla/show_bug.cgi?id=34461. The workaround there is to apply inputstring="" as parameter to java or exec tasks. However, the junit task does not support such a parameter, so the workaround does not apply to junit tasks.

So I'm left without a workaround.

Suggested solutions: implement input and inputstring parameters for junit ant task.