amtrack / force-dev-tool

[DEPRECATED] Command line tool supporting the Force.com development lifecycle
MIT License
108 stars 37 forks source link

fix package.xml generation #82

Closed amtrack closed 7 years ago

amtrack commented 7 years ago

This changes the way the package.xml file is being generated!

While previously metadata types and their child types (such as Workflow -> WorkflowRule, WorkflowFieldUpdate,...) were being listed in the package.xml, now only the child types are being listed by default.

There is an exception for MatchingRules and MatchingRule where trying to list file properties of MatchingRule failed. Here only the parent type is being listed.

For types that have own properties (CustomObject), the parent type is still being listed together with its child types. For types where child types cannot be listed in the package.xml (Profile and PermissionSet), the parent type is being listed.