Using Ant to invoke a command processor

2006-03-31 Thread gboysko
Hello: I have a Java class which is an (interactive) command processor. The program prompts the user by sending "> " to the System.out (without a newline). The user enters a command on standard input and the results are sent back to System.out. If I use to launch this class (with -emacs), eve

How to use stdin/stdout with exec

2006-03-28 Thread gboysko
I am using Ant to automate the creation of some Java classes and compile them. I also want to be able to execute one of these generated Java classes (which has a builtin command processor). The commands are entered by the user (interactively) and the output is sent back to the console (via System.