://ant.apache.org/manual/inputhandler.html#defaulthandler
Cheers,
Michael
Original Message
Subject: Re: "Failed to read input from Console" Error invoking ant from
java class
From: Mark Salter
To: Ant Users List
Date: mon, 15 dec 2008 21:28:38 +
> Michael Sobremonte w
Michael Sobremonte wrote:
>
> I am trying to call an ant target requiring input from within a java class.
Why do you want to do it this way?
Why not use ant natively or System.in directly from java *before*
invoking ant to react to the options selected?
> # INPUT MENU 1:
> addproperty="main.op
Hi
I am trying to call an ant target requiring input from within a java class.
My build file is menu-based so it jumps from menu to menu depending on
the input.
The problem is as soon as input is entered in INPUT MENU 1,
The next menu will fail to read input.
eg:
# INPUT MENU 1:
# INPUT MENU