ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oki DZ <ok...@pindad.com>
Subject Getting input
Date Tue, 01 Apr 2003 02:59:27 GMT
Hi,

I have something like the following in my build.xml:
  <target name="execute" depends="compile" description="execute the 
app">
    <exec dir="${ojbhome}" executable="${javahome}/bin/java">
      <arg line="MyClass"/>
    </exec>
  </target>

MyClass uses Readline.readline(<prompt>) (from 
java-readline.sourceforge.net). Unfortunately, the input is suppressed 
by Ant (meaning, the prompt is not displayed). How can I get it working?

BTW, if I use BufferedReader and have the InputStream from System.in, it 
would be the same thing.

Thanks in advance,
Oki



Mime
View raw message