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 does ant read properties? How to set my property system?



How does ant read properties? How to set my property system?..

Answer / Rohitash Kumar

Ant reads properties from a file named build.properties by default. You can also specify a custom properties file using the -propertyfile option or the propertyfile attribute in your build.xml file. To set properties directly, use:

```
<project>
<property name="myProperty" value="myValue"/>
</project>

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Ant Interview Questions

How we can set compile target using ant?

1 Answers  


How to use ant-contrib tasks?

1 Answers  


What is a build tool?

1 Answers  


Explain how to import .jar files?

1 Answers  


How many types of build tool you know?

1 Answers  


What are the core concepts of ant?

1 Answers  


What is minimum version of java is required to run apache ant 1.9.x?

1 Answers  


Explain how to test classes for junit using ant script?

1 Answers  


How many ways we can set properties into build ant file?

1 Answers  


What is dependency? How it is used into ant? What is its use?

1 Answers  


List some basic functions performed by ant.

1 Answers  


What is different between ant and make?

1 Answers  


Categories