DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4400>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4400 Unexpected behavior of java task when paralleled Summary: Unexpected behavior of java task when paralleled Product: Ant Version: 1.4 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Minor Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Not really a critical bug, but someone should put a note in the documentation to alert people to this. It took me a little while to understand what was going on... Here's the deal: Task: java Attribute: output - redirects console output to a file That works fine. Always has. Then I tried putting a bunch of targets in <parallel>, where these targets were calling java with an output attribute. The output comes out in the console. A file is created, but it remains empty. Solution? add "fork=yes". Forking the java process returns the behavior to normal. Like I said: not really a big deal since it can easily be worked around, but a mention should be made in the documentation. Cheers, Matt
