alan-morey / force-meta-backup

A tool to help download Salesforce.com Metadata
43 stars 22 forks source link

running "ant backupMetadata" errors due to missing build/profile-packages/CustomPermission.xml #31

Closed thomasdziedzic closed 9 years ago

thomasdziedzic commented 9 years ago

Here is the log:

    [mkdir] Created dir: /Users/thomas/force-meta-backup-1.31/build/profile-packages-metadata/CustomPermission

BUILD FAILED
/Users/thomas/force-meta-backup-1.31/build.xml:48: The following error occurred while executing this line:
/Users/thomas/force-meta-backup-1.31/build/profile-packages-target.xml:15: Should provide a valid retrieve manifest 'unpackaged'.

the error happens because line 15 of profile-packages-target.xml is:

<sf:retrieve unpackaged='build/profile-packages/CustomPermission.xml' retrieveTarget='build/profile-packages-metadata/CustomPermission' ...

but the file it references is missing: build/profile-packages/CustomPermission.xml

Another file that is missing is build/profile-packages/ExternalDataSource.xml which is listed after the CustomPermission, so I'm assuming that if we add a CustomPermission.xml file, ExternalDataSource.xml will fail next.

alan-morey commented 9 years ago

Can you try lastest version (https://github.com/alan-morey/force-meta-backup/releases/tag/v1.32) and see problem persists?

thomasdziedzic commented 9 years ago

Thanks, that fixed it.