Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
July 7, 2022 04:54 am GMT

How to set up Ant tool for Salesforce deployment ?

Here is the process to set up Ant tool for Salesforce deployment.
Steps:
1) Install JDK
https://www.oracle.com/java/technologies/downloads/#java16

Location where JDK to be installed:
C:\Program Files\Java

Setting up environment variable
Variable = JAVA_HOME
Value = C:\Program Files\Java\jdk-16.0.1\bin

2) Set up ant tool
http://ant.apache.org/bindownload.cgi

Variable = ANT_HOME
Value = C:\ANT_HOME\apache-ant-1.10.10

3) Need salesforce jar file and sample folder

https://developer.salesforce.com/docs...

Download the .zip file of the Spring '21 Ant Migration Tool

Sample folder + salesforce ant jar
Copy the sample folder to location
C:\ANT_HOME\apache-ant-1.10.10

Salesforce jar file
C:\ANT_HOME\apache-ant-1.10.10\lib

4) Create new Windows path variable

%ANT_HOME%\bin


Original Link: https://dev.to/tanmaygi/how-to-set-up-ant-tool-for-salesforce-deployment--ma0

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To