Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Using the Ant Migration Tool
The Ant Migration Tool is a Java/Ant-based command-line utility for moving metadata between a local directory and a Salesforce organization. You can use the Ant Migration Tool to retrieve components, create scripted deployment, and repeat deployment patterns.
The general procedure you will follow when using the Ant Migration Tool to copy metadata from one Salesforce organization to another is:
- Enter credentials and connection information for source Salesforce organization in build.properties
- Create retrieve targets in build.xml
- Construct a project manifest in package.xml
- Run the Ant Migration Tool to retrieve metadata files from Salesforce
- Enter credentials and connection information for destination Salesforce organization in build.properties
- Run the Ant Migration Tool to deploy metadata files or deletions to Salesforce