Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to hide password input?



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

Post New Answer

More Apache Ant Interview Questions

Can I put the contents of a classpath or fileset into a property?

1 Answers  


What are the core concepts of ant?

1 Answers  


What is a build tool?

1 Answers  


How can I use ant to run a java application?

1 Answers  


How you can clean or delete workspace using ant?

1 Answers  


Explain how to debug my ant script?

1 Answers  


What is dependency? How it is used into ant?

1 Answers  


Explain how to use ant-contrib tasks?

1 Answers  


How many types of build tool you know?

1 Answers  


How you can compile, jar and run into ant command prompt?

1 Answers  


Explain how to compile using ant script?

1 Answers  


What is advantage of ant 1.7.1?

1 Answers  


Categories