Navigate to DEVELOP and then to TOOL and select the Migration Tool link and download a Zip file to your computer. The remaining steps involve downloading the migration tool from any organization that uses Salesforce.Īfter logging into Salesforce, start by locating the tool by going to your name in the setup menu. If you are successful with Step 5 then you have successfully configured ANT. Otherwise, if you get an error, warning or notification saying something like “tools.jar cannot be located” then just go ahead and copy the file downloaded in Step 1 to the JRE/lib folder. If you get a message that confirms compilation of ANT, then jump to Step 6. To determine if ANT is installed correctly or not, open a command prompt and type in ant –v (v for version). Otherwise, add the new path without the %.Ĭreate another environment variable called JAVA_HOME and set it to the location of your Java development kit installation. If the PATH already exists, add %ANT_HOME% to the variable. Then set the environment variable path to ANT_HOME ensuring that you are in the parent bin folder. First ensure that you have the Java Development Kit 1.5 or above installed in your machine.ĭo a web search on the ANT Apache and download the latest ANT distribution from the source site.Įxtract the Zip file you downloaded previously and note the location that you downloaded it to. Here is the procedure you should use to deploy Salesforce using ANT. You can automate the process using command prompt batch files and XML files. With ANT, you can migrate more components than with change sets.With ANT, you can change and delete the target organizations metadata since you have access to it using an XML file.Since you can save the XML file directly on the machine that you use to manage the process, you can thus save the same metadata as many times as you need to any server.This means you can then edit the XML locally and then upload back to a server. ANT retrieves metadata using an XML from the server and then saves it to your computer.The ANT tool has certain advantages over the other methods as listed below: You could use change sets to migrate metadata, you could use the tool or you could also use the ANT tool. There are several ways to deploy Salesforce from one organization or business to another.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |