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.
If you run an Ant target that requests some input, the Input field in the OW opens, you enter some lines of text, then press the Close button when done; and then the Ant script requests some more input, it won't get it - the input field is already closed and it will get an immediate EOF. This behavior is (1) undesirable, (2) inconsistent with command-line usage where Ctrl-D (Unix) or Ctrl-Z (Windows) sends EOF to the current subprocess but permits another one to still get input again. To reproduce, just try the nofork-repeated-stdin target in the attached script, both from the command line and from NetBeans (dev build).
Created attachment 20021 [details] Sample script
not sure how to reproduce the problem. I've writen this target and it runs without an issues. I've tried running repeatedly, closing the output, clearing the output, but stil cannot reproduce. Please reopen with more information. <target name="printoutput"> <input message="my message1" addproperty="milos.kleint"/> <echo message="output ${milos.kleint}"/> <input message="my message2" addproperty="milos.kleint2"/> <echo message="output ${milos.kleint2}"/> </target>
reopening. I missed the attached file.
done, Checking in src/org/netbeans/core/output2/Controller.java; /cvs/core/output2/src/org/netbeans/core/output2/Controller.java,v <-- Controller.java new revision: 1.43; previous revision: 1.42 done Checking in src/org/netbeans/core/output2/NbIO.java; /cvs/core/output2/src/org/netbeans/core/output2/NbIO.java,v <-- NbIO.java new revision: 1.10; previous revision: 1.9