Re: "Failed to read input from Console" Error invoking ant from java class

2008-12-17 Thread Michael Sobremonte
://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

Re: "Failed to read input from Console" Error invoking ant from java class

2008-12-15 Thread Mark Salter
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

"Failed to read input from Console" Error invoking ant from java class

2008-12-15 Thread Michael Sobremonte
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