You need to sign in to do that
Don't have an account?
Migration Tool and Manifest File - LIMIT_EXCEEDED: Too many files in deploy call
Trying to use the migration tool/Ant to deploy an unmanaged project. The first attempt failed and the error message read: LIMIT_EXCEEDED: Too many files in deploy call, limit is: 1500. So I changed the manifest file (package.xml) so it only included Apex Classes as follows:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>ApexClass</name>
</types>
<version>15.0</version>
</Package>
And the ant script:
<sf:deploy username="${sf.username}" password="${sf.password}" serverurl="${sf.serverurl}" deployRoot="trunk/src" />
I got the same error. I went to the 'src' folder (where the manifest files resides as well as the individual component subfolders i.e. 'classes', 'components', etc.) and deleted all of the folders except the 'classes' folder. This time it worked.
So it appears that the migration tool is trying to deploy all of the components in the folder regardless of what is in the manifest file. Is this a true statement or am I doing something wrong?