This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Wrong output in the output window | ||
---|---|---|---|
Product: | projects | Reporter: | ccoffeecup |
Component: | Ant | Assignee: | Milos Kleint <mkleint> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 166379 | ||
Bug Blocks: |
Description
ccoffeecup
2013-07-08 09:58:21 UTC
The problem is probably in synchronization between standard and error output The problem is caused by mixing System.out and System.err. The output from the wrong order comes from ForkedJavaOverride which needs to drain from stderr and stdout in parallel so there is no ordering. Unfortunately Ant does not support something like ProcessBuilder. setRedirectErrorStream(). For Compile On Save execution the fix of enhancement #166379 may solve the problem, but for non Compile On Save execution (run by Ant) there is no way how to resolve this issue. According to Tomas Zezula's interpretation... |