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 we can set the path environment variable of ant?



How we can set the path environment variable of ant?..

Answer / Deep Agnihotri

To set the PATH environment variable for Ant, you should modify the system properties in your build.xml file. Here's an example of how to do it:

```
<project>
<property name="path.separator" value=","/>
<property name="ant.home" value="/path/to/ant"/>
<property environment="global" key="Path">${path.separator}${ant.home}/bin</property>
</project>
```

Replace `/path/to/ant` with the actual path to your Ant installation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Ant Interview Questions

Explain using ant and give an small example?

1 Answers  


What is a build tool?

1 Answers  


How we can create a jar using ant?

1 Answers  


Can I change/override ant properties when I use ant-contrib foreach task?

1 Answers  


How to use ant-contrib tasks?

1 Answers  


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

1 Answers  


What are the core concepts of ant?

1 Answers  


Explain how to compile using ant script?

1 Answers  


How many types of build tool you know?

1 Answers  


How we can echo message in ant?

1 Answers  


What is advantage of ant 1.7.1?

1 Answers  


What is built-in properties? And how many built-in properties?

1 Answers  


Categories