Salesforce Deployment

Salesforce

How to delete components from Salesforce organization using Apache ANT Tool?

Package.xml: <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata">     <version>30.0</version> </Package> DestructiveChanges.xml: <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types>         <members>Test</members>         <name>ApexComponent</name>     </types> ....

Salesforce

How to retrieve standard objects using ANT in Salesforce?

Account <members>Account</members> AccountContactRole <members>AccountContactRole</members> Asset <members>Asset</members> Campaign <members>Campaign</members> CampaignMember <members>CampaignMember</members> Case <members>Case</members> CaseComment <members>CaseComment</members> CaseContactRole <members>CaseContactRole</members> Contact <members>Contact</members> Contract <members>Contract</members> ContractContactRole <members>ContractContactRole</members> Lead <members>Lead</members> Opportunity <members>Opportunity</members> OpportunityContactRole <members>OpportunityContactRole</members> OpportunityLineItem <members>OpportunityLineItem</members> ....

Salesforce

How to retrieve all the Packages using Apache ANT tool in Salesforce?

Sample build.xml:   <target name="retrieve" depends="proxy">   <sf:retrieve   username="${sf.sandboxusername}"   password="${sf.sandboxpassword}"   serverurl="${sf.sandboxurl}"   retrieveTarget="Retrieve"   packageNames="Package_Name"/>  </target> Sample package.xml: <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata">     <types>   <members>*</members> ....