This content describes an older version of this product.
View Latest
Retrieving Metadata from a Salesforce Organization
To retrieve Force.com components:
Open a command prompt.
Run Ant by specifying a target name in build.xml. If this is the first time you are running Ant, use ant retrieveUnpackaged to retrieve unpackaged
components specified in package.xml.
The sample build.xml contains a number of
useful targets for various retrieve() and deploy() options that you can modify or use as is. To see a list of
all of your named targets in build.xml, enter ant -p at the command line.
Metadata API
can deploy and retrieve up to 10,000 files or 400 MB
at one time. If you are working with a large number of components, you should
use the listMetadata target to identify the subset of files that you want to retrieve,
or you should retrieve batches of components using the Retrieving Components
in Bulk.