Answer Posted / 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 |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category