
Build.properties : We provide the information about our instance on which we want to perform the operation (deploy or retrieve or any other possible operation).This package.xml file contains the list of components to be retrieved from source org.īelow are the details of each file that we have in the current folder structure. We have build.xml and build.properties file here and one folder named “unpackaged” in which we have our package.xml. Here is the folder that we have initially. Here we will first retrieve the components from source org and then will deploy those components to the target org. In those XML files, we provide information about our server ( like credentials, login URL, and some other attributes as well), information about the operation that we want to perform (these are called targets, like retrieve or deploy, file is build.xml), then information about the components that you want to retrieve or deploy(package.xml).īelow is one basic example. This tool works with the help of some XML files that we create in order to use this tool. bat files and XML structure of source files. You can also automate your migration process leveraging the capabilities of command prompt.

It can also be run from command prompt using some specific commands for calling APIs.Some components are not supported to be migrated using change sets but you can migrate them using ANT migration tool.This is done using destructiveChanges.xml file.

But using ANT migration tool you can delete the components from target org.


However when I try to deploy, I'm getting the following error: *********** DEPLOYMENT FAILED ***********ġ. I'm trying to delete some components with the migration tool (Ant). Wondering if someone can help me with this.
