Java ANT Question:

Download Job Interview Questions and Answers PDF

Do you know how to make ant user interactive?

ANT Interview Question
ANT Interview Question

Answer:

The org.apache.tools.ant.input.InputHandler interface is used to implement the user input. To perform the user input, the application creates InputRequest object and this object will be passed to InputHandler. The user input will be rejected if it is invalid.

The InputHandler interface has exactly one method, by name handleInput(InputRequest request). This method throws org.apache.tools.ant.BuildException, if the input is invalid.

Download ANT Interview Questions And Answers PDF

Previous QuestionNext Question
What is the concepts and capabilities of ANT?How to write your own ant task?