Configuration

Using ANT Migration Tool for Deployment-Salesforce

Using ANT Migration Tool for Deployment-Salesforce

Using ANT Migration Tool for Deployment-Salesforce
Salesforce ANT Migration Tool

This post will tell you how to deploy metadata from one Salesforce org to another Salesforce org using Apache ANT Migration tool.  Apache Ant can be used to deploy metadata even if the Orgs are not connected, which is a traditional change Set approach limitation.

Prerequisite -- Apache ANT .  If you don't have Apache ANT installed then click Installing Apache Ant Migration Tool to install.


If the prerequisite are done go to Download Summer ’16 release .zip (version 37.0) download and extract the zip file.  Copy the ant-salesforce.jar file and paste it in the lib folder of Apache Ant.

There are 2 main files which are to be configured .
1) Build.xml (Download)
Snapshot:

2) Build.properties (Download)
Snapshot:

In this file save the credentials of source otg in ORG1 and destination org in ORG2.
password should have the password followed by the Security Token. svn.dir path should point to the directory where you want to code to retrieve. You should keep your package.xml also here.

Paste the build.xml and build.properties file which you downloaded into the bin directory of ant.

Once all these steps are done , go to CMD, Navigate to the bin directory of ant and type -->              ant retrieveCode and press enter. It will start retrieving the the metadata mentioned in the package.xml from source org (ORG1).

To deploy type --> ant  deployCode and press enter.  This will deploy the retrieved metadata components to the destination org (ORG2) 

About Saurabh Dua

12 comments:

  1. Remarkable article, it is particularly useful! I quietly began in this, and I'm becoming more acquainted with it better! Delights, keep doing more and extra impressive! source

    ReplyDelete
  2. Thankyou for this wondrous post, I am glad I observed this website on yahoo. 먹튀검증

    ReplyDelete
  3. Great post, you have pointed out some fantastic points , I likewise think this s a very wonderful website. 먹튀검증

    ReplyDelete
  4. You have done a great job on this article. It’s very readable and highly intelligent. You have even managed to make it understandable and easy to read. You have some real writing talent. Thank you. 먹튀검증

    ReplyDelete
  5. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me. 토토사이트

    ReplyDelete
  6. I read your blog frequently and I just thought I’d say keep up the amazing work! 대전건마

    ReplyDelete
  7. At Inovi, we’re committed to achieving the highest success rates while providing personalized care to our patients. Our Houston location offers expert care and is home to our state-of-the-art embryology lab. you could check here

    ReplyDelete
  8. Liposuction should never be considered an alternative to a healthy lifestyle, it is one of the steps that can get you to a better version of yourself through fat reduction. removing unwanted fat

    ReplyDelete
  9. What is an outstanding post! “I’ll be back” (to read more of your content). Thanks for the nudge! 현금바둑이

    ReplyDelete
  10. I should explain hardly that its reasonable! The blog is goliath in like manner ceaselessly make interfacing with entitys. Lipiflow treatment in delhi

    ReplyDelete
  11. wow this affecting notwithstanding ,I love your enter paying unessential fault to dazzling pics might be part personss risky love being defrent mind firm poeple , https://www.buyyoutubeviewsindia.in/youtube-marketing/

    ReplyDelete
  12. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work... visa ndị India

    ReplyDelete

Powered by Blogger.