How we can set the path environment variable of ant?
Answer Posted / 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 View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category