Check if bundle dependencies are all met.
Description
It often happens that we forget a bundle's dependency. This is due to the fact that there is no tool to check if all bundles containing the services declared a XML are going to be loaded (i.e. declared as requirements).
It is not always noticeable because most of the time it is compensated by being loaded by a dependent app or bundle. However, it is still quite annoying because those errors typically resurface when including the bundle elsewhere.
Proposal
- Parse XML files
- For all services, check if the top namespace is in the Properties.cmake
- Do the same for all
<requirement id="..." />
in theplugin.xml