Hello, I'm new to ant, but felt in love with this tool from the first sight.

I have a problem.
If my java application wants to read from the keyboard,
and is lounched using ant ant java commant using fork="yes" attribute,
Input stream blocks.
I need fork because I have to provide jvmarg to java VM.
Does anybody knows how to solve this problem?

These are the lines I use in java file:

     BufferedReader in =
        new BufferedReader (new InputStreamReader (System.in));
      System.out.print ("Enter line: ");
      String oneLine = in.readLine ();

This is the command I use in ant:
<java  classname="EchoLine" fork="yes">

Thanks in advance
Arnas Kupsys


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to