conor 2003/12/07 18:23:39 Modified: . Tag: ANT_16_BRANCH WHATSNEW docs/manual/CoreTasks Tag: ANT_16_BRANCH exec.html java.html Log: Document that attempts to read from System.in will receive an EOF rather than blocking as was the case in Ant 1.5 PR: 25258 Revision Changes Path No revision No revision 1.503.2.17 +12 -8 ant/WHATSNEW Index: WHATSNEW =================================================================== RCS file: /home/cvs/ant/WHATSNEW,v retrieving revision 1.503.2.16 retrieving revision 1.503.2.17 diff -u -w -u -r1.503.2.16 -r1.503.2.17 --- WHATSNEW 4 Dec 2003 22:30:19 -0000 1.503.2.16 +++ WHATSNEW 8 Dec 2003 02:23:39 -0000 1.503.2.17 @@ -11,6 +11,10 @@ * <csc>'s executable attribute defaults to mcs on non-Windows platforms. +* Attempts to read input in <java> and <exec> tasks will now receive an EOF + rather than blocking. If you run such a process and rely on it blocking, as + it would do in Ant 1.5, you may have problem. + Fixed bugs: ----------- * the <java> task checks that the Main method of the class to be executed is static, No revision No revision 1.34.2.4 +21 -19 ant/docs/manual/CoreTasks/exec.html Index: exec.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/exec.html,v retrieving revision 1.34.2.3 retrieving revision 1.34.2.4 diff -u -w -u -r1.34.2.3 -r1.34.2.4 --- exec.html 13 Oct 2003 13:09:40 -0000 1.34.2.3 +++ exec.html 8 Dec 2003 02:23:39 -0000 1.34.2.4 @@ -15,7 +15,9 @@ systems.</p> <p>Note that you cannot interact with the forked program, the only way -to send input to it is via the input and inputstring attributes.</p> +to send input to it is via the input and inputstring attributes. Also note that +in Ant 1.6, any attempt to read input in the forked program will receive an +EOF (-1). This is a change from Ant 1.5, where such an attempt would block.</p> <h4>Cygwin Users</h4> <p>In general the <exec> task will not understand paths such as /bin/sh for 1.24.2.3 +24 -22 ant/docs/manual/CoreTasks/java.html Index: java.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/java.html,v retrieving revision 1.24.2.2 retrieving revision 1.24.2.3 diff -u -w -u -r1.24.2.2 -r1.24.2.3 --- java.html 13 Oct 2003 13:09:40 -0000 1.24.2.2 +++ java.html 8 Dec 2003 02:23:39 -0000 1.24.2.3 @@ -17,7 +17,9 @@ JVM. <p>Note that you cannot interact with a forked VM, the only way to -send input to it is via the input and inputstring attributes.</p> +send input to it is via the input and inputstring attributes. Also note that +in Ant 1.6, any attempt to read input in the forked VM will receive an +EOF (-1). This is a change from Ant 1.5, where such an attempt would block.</p> <h3>Parameters</h3> <table border="1" cellpadding="2" cellspacing="0">
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]