Activity Forums Salesforce® Discussions Difference Between Change Sets And Apache Ant Migration

  • PRANAV

    Member
    December 20, 2016 at 2:53 pm

    Hi Vikas,

    Both the Change Sets and Ant Migration can be used for deployment for almost anything. Personally I found, if deployment is small, I use changeset but for larger deployments(and first time deployment of large project) we prefer Ant Migration Tool.

    As in Change Sets - If we've to deploy about 100 fields for some object. We've to make individual selection of each field to add in changeset before uploading to other environment. Consider If you've 10-15 such object of these type!. This is too much time consuming and error-prone. Through Ant, all what We've to do is to mention object in XML, all fields will automatically get deployed.

    Other thing, If We've to delete components in production, We've option to do through ANT( Destructive.XML) while no such option is available in Change Set.

    Change Set is only used for deployment in connected orgs, while through ANT you can deploy in any org.

    Hope this helps you.

    Thanks

  • Vikas Kumar

    Member
    December 21, 2016 at 2:23 pm

    Hi Pranav,

    Thanks for the Answer 🙂

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos