How to set the path environment variable from ant script
You can use to expand the path:
And then you can execute for instance sh from ant to export the environment variable:
sh
ant
export
Or execute your command and set env with value, like so:
env
value