Hi,
I am trying to exec git describe in ant from inside eclipse. I have the following inside one of my targets:
<exec executable="git" outputproperty="git-desc">
<arg value="describe"/>
</exec>
When I try this from command line, ant runs properly as it uses the PATH set by my shell. When I try to run ant from eclipse, I get the following error:
Cannot run program "git": error=2, No such file or directory
It seems pretty clear that I need to update the PATH that eclipse is given. How do I go about doing this?