In this chapter, we learned about the Force.com Migration Tool and how to set up the tool in your environment. We have seen the step-by-step process to retrieve metadata from a sandbox using Ant scripts, and we learned about configuring our sandbox credentials in build.properties
to provide access to a sandbox environment, listing components to retrieve in the package.xml
project manifest, and retrieving the contents into the directory mentioned in the build.xml
file.
After successfully retrieving metadata from a sandbox to a local machine, we moved to the next step, which is deploying changes to a sandbox. We have seen sample deployment of metadata using the Ant Migration Tool to a developer sandbox or test sandbox. Sometimes, we might need to delete components or files from a sandbox. We have seen how we can delete components from a Salesforce organization using destructiveChanges.xml
.
In the next chapter, we will see what source control versioning is. We will also learn the advantages...