Running VSCode 1.5.6 with openjdk 11.0.11 and Ant Target Runner 0.3.1 on MacOS Big Sur 11.3.1 and until recently it was all working fine - I have a build.xml in my project's root directory and the ATR extension was running the selected tasks as expected. But as of this morning when I tried to run a task that previously ran fine I'm getting an error in the terminal console:
zsh: command not found: ant
My understanding was that ATR bundles ant 1.10.7, so doesn't need this to be pre-installed. I haven't explicitly defined ANT_HOME or JAVA_HOME in my profile (.zshrc), but to date it has always worked without this.
The only recent change I've made to the platform was to uninstall Eclipse. Eclipse obviously comes with it's own version of ant - is it possible that ATR was somehow picking this version up instead of installing its bundled version? I've tried uninstalling and reinstalling the ATR extension but to no avail. Not sure where the extension would normally install ant on MacOS?
I can get it to work by manually installing ant and adding the path to my profile, but I was wondering why it wouldn't work 'out of the box' with ADR's bundled version of ant?
BTW it seems to work fine on Windows 10 and Ubuntu 20.4 - just seems to be a problem on MacOS.
Running VSCode 1.5.6 with openjdk 11.0.11 and Ant Target Runner 0.3.1 on MacOS Big Sur 11.3.1 and until recently it was all working fine - I have a build.xml in my project's root directory and the ATR extension was running the selected tasks as expected. But as of this morning when I tried to run a task that previously ran fine I'm getting an error in the terminal console: zsh: command not found: ant
My understanding was that ATR bundles ant 1.10.7, so doesn't need this to be pre-installed. I haven't explicitly defined ANT_HOME or JAVA_HOME in my profile (.zshrc), but to date it has always worked without this.
The only recent change I've made to the platform was to uninstall Eclipse. Eclipse obviously comes with it's own version of ant - is it possible that ATR was somehow picking this version up instead of installing its bundled version? I've tried uninstalling and reinstalling the ATR extension but to no avail. Not sure where the extension would normally install ant on MacOS?
I can get it to work by manually installing ant and adding the path to my profile, but I was wondering why it wouldn't work 'out of the box' with ADR's bundled version of ant?
BTW it seems to work fine on Windows 10 and Ubuntu 20.4 - just seems to be a problem on MacOS.