Salesforce ANT Setup for MAC
Ant setup for MAC
- Download Apache ANT Latest version from https://ant.apache.org/bindownload.cgi (download zip file.
- Extract the zip file in Desktop. Make sure you have Java 8 or Later installed in the System.
- Now open the terminal and type vim .profile.
- Press "i" key, So that you will be in Insert mode.
- Open Terminal and Type.
- export ANT_HOME=/Users/mukul/Desktop/apache-ant-1.19.6. (Make sure you change the ANT_HOME according to your machine.)
- export JAVA_HOME=$(/usr/libexec/java_home).
- export PATH=$PATH:$ANT_HOME/bin
- export PATH=$PATH:$JAVA_HOME/bin.
- Press Esc Key.
- Enter :wq and press "Enter" key.
- Do the same for vim .bash_profile and for vim .zshenv as well.
- Close and reopen terminal and type - ant -version . It should display the version of the file.
- Download the ANT.
- Download ant-salesforce .zip file from location https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/forcemigrationtool_install.htm
- Extract the zip file and copy ant-salesforce.jar file from it and paste it in the lib folder in extracted ANT Folder which was extracted in #2.
Comments
Post a Comment