| Getting input | Getting input 2003-03-31 - By Oki DZ
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
|
|
 |