You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/07/23 16:09:09 UTC

[Bug 2738] New: - Passing of Streams to core tasks are not good (specially passing input stream to a java task is not possible)

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2738

*** shadow/2738	Mon Jul 23 07:09:09 2001
--- shadow/2738.tmp.4135	Mon Jul 23 07:09:09 2001
***************
*** 0 ****
--- 1,27 ----
+ +============================================================================+
+ | Passing of Streams to core tasks are not good (specially passing input str |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2738                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Major                    OS/Version: All                     |
+ |     Priority: Other                     Component: Core tasks              |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: Pierre.Jourdan@trema.com                                     |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Ant is so good, that I use it to launch java programs (with the java core task).
+ Problem: The Output and Error Stream of the java tasks are merged into the 
+ system standard output stream, removing any change to make a distinction between 
+ them. 
+ The Input stream is not passed at all, thus make it impossible to launch a 
+ java program that want to use the standard input stream !
+ 
+ I hope it was not made on purpose and is just two lines of code to add in files:
+ /src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java and Java.java
+ 
+ Hope to see that as a fix in 1.3