ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Run time commands
Date Wed, 17 Apr 2002 15:12:15 GMT
On Wed, 17 Apr 2002, Oisin Kim <oisin.kim@aurium.net> wrote:

> I also run a java class that starts (through JNI) a native C++ / MFC
> application, this too cannot take in any inputs from users which
> seems similar to the System.in problem,

It is the same problem, yes.

> but surely we should be able to give inputs to a running Java
> program, or am I missing the point of the exec and java commands in
> Ant (which I probably am ;-p)

It is a known limitation for <exec> and <java fork="true">, non-forked
<java> tasks should be able to read from System.in.  There is no
workaround, sorry.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message