+ Start a Discussion

ANT migration tool question.

How to we deploy metadata in a Org using ANT tool. Cna some ine give the steps involved. How do we create a session for User in the Tool.
James LoghryJames Loghry
This site, is the go to guide for setting up the migration toolkit: https://developer.salesforce.com/page/Force.com_Migration_Tool

TL;DR version is the following:
  1. Install ANT on your build environment.
  2. Grab the latest ant-salesforce jar and download it to your build environment, storing it in the ANT lib directory.
  3. Create a build.xml file, using the targets supplied by the migration toolkit / ant-salesforce.jar 
  4. Invoke ANT using ant build <target name>.