ant-user mailing list archives

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

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

MyClass uses Readline.readline(<prompt>) (from 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, it 
would be the same thing.

Thanks in advance,

View raw message