How to hide password input?
Answer / Pratap Thakur
In Apache Ant, there's no built-in way to hide a password during execution. However, you can use an echo task with the <password> attribute to mask the characters as they are typed. In your build.xml file, use:
```
<echo message="Enter your password:">
<password/>
</echo>
| Is This Answer Correct ? | 0 Yes | 0 No |
Can I put the contents of a classpath or fileset into a property?
What are the core concepts of ant?
What is a build tool?
How can I use ant to run a java application?
How you can clean or delete workspace using ant?
Explain how to debug my ant script?
What is dependency? How it is used into ant?
Explain how to use ant-contrib tasks?
How many types of build tool you know?
How you can compile, jar and run into ant command prompt?
Explain how to compile using ant script?
What is advantage of ant 1.7.1?