I am unable to deploy the retrieved customizations from Sandbox. Please help.
Source: Developer Pro Sandbox
Destination: Developer Sandbox (dev sandbox is only for trial purpose, I need to deploy total application in partial copy sandbox)
Build.xml block:
<target name="deploy">
<sf:deploy
username="${sf.username}"
password="${sf.password}"
serverurl="${sf.serverurl}"
deployRoot="DST"
rollbackOnError="True"/>
</target>
Error:
DEPLOYMENT FAILED Request ID: 0Afc000000UyJuNCAV
All Component Failures:
1. package.xml — Error: No package.xml foundDEPLOYMENT FAILED
Best Answer
Make sure you have package.xml in your root directory from where you are deploying the metadata. Looks like you have a folder named DST. Make sure you have create a package.xml file .
Package.xml can be generated using an IDE or by adding all components to an unmanaged package and then retrieving it from the package using ant retrieve.