generate the package.xml manifest file including all metadata
brew install gradle
git clone https://github.com/takahitomiyamoto/salesforce-manifest-generator.git
cd salesforce-manifest-generator
gradle build
unzip build/distributions/salesforce-manifest-generator.zip
cp credentials_sample.json salesforce-manifest-generator/bin
cd salesforce-manifest-generator/bin
mv credentials_sample.json credentials.json
{
"credentials": {
"username": "xxxxxxxxxx",
"password": "xxxxxxxxxx",
"exceptManagedPackage": true,
"exceptUnmanagedPackage": true,
"orgType": "login",
"apiVersion": 45.0,
"os":"win"
}
}
If you log in to Salesforce via a proxy, set the proxy host and port:
{
"credentials": {
"username": "xxxxxxxxxx",
"password": "xxxxxxxxxx",
"proxyHost": "samplehost",
"proxyPort": 9999,
"exceptManagedPackage": true,
"exceptUnmanagedPackage": true,
"orgType": "login",
"apiVersion": 45.0,
"os":"win"
}
}
By the way,
- "exceptManagedPackage" : true or false
- if true, all managed or unlocked metadata types move from package.xml to package_managed.xml or package_unlocked.xml
- "exceptUnmanagedPackage" : true or false
- if true, all unmanaged metadata types move from package.xml to package_unmanaged.xml
- "orgType" : "login" or "test"
- "login" : production, developer
- "test" : sandbox
- "os" : "win" or "mac"
- "win" : use Windows (you should open the generated file with "Shift_JIS".)
- "mac" : use Mac (you should open the generated file with "UTF-8".)
./salesforce-manifest-generator
ls