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.out).

I simply want to use either the JAVA or EXEC task to invoke the class, but I
can't get the stdin and stdout to be routed to the class. I can see lots of
ways to wire up the input/output to files, but no way to have them wired
back to the Ant console.  Am I missing something? Without specifying
anything, I don't see anything and can't enter anything.  Is there a way I
can specify the console/terminal in Windows using the input and output
attributes?

I am using Ant 1.6.5 on Windows.
--
View this message in context: 
http://www.nabble.com/How-to-use-stdin-stdout-with-exec-t1360004.html#a3643592
Sent from the Ant - Users forum at Nabble.com.


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

Reply via email to