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.
Run the target nofork-stdin from the attached Ant script. You are prompted for input. Send some lines, then close the input field to end the process. Now run the same target again. It will display an immediate EOF. If you run some other target, then go back to this one, it will work again. Problem is that the Ant module tries to reuse the output tab whenever it can, and does its best to reset it using io.getOut().reset(); io.getErr().reset(); This works for output but it does not reset the state of standard input, which is still marked internally as closed. NbIO.reset() should be being called here (by both of the above lines), and this should be calling in.reuse(), which should have the desired effect. But apparently something is not working. Maybe dispose() is being called first?
can you attach the script?
fixed in trunk.
BTW for the future please paste CVS commit logs into a bug report when closing as fixed, to make it easier to verify or track down problems later.