joe03 (2) [Avatar] Offline
#1
hi all,

Im working on a ant script where i need users to enter a username, password and server name during a ANT build. Ive been told that i can use the inputhandler by typing "ant - inputhandler" at the DOS prompt and subsequently can call a java class to handle customised input. Can someone please illustrate how this is done through a simple example(source code would be relly helpful). Im having problems getting it to work.

much appreciated
joe
ErikHatcher (211) [Avatar] Offline
#2
Re: ANT input handler
My apologies for the delay in replying - the new forum software did not send me an e-mail when you posted.

The input handler documentation is here: http://ant.apache.org/manual/CoreTasks/input.html - this should help get you going. If not, post back.