9. Contributions

Contributions are the means by which packages may add values to configuration points. In general, the value of a contribution must match both the type of the configuration point, and the requirements of any schema that the configuration point may possess.

Adding contributions is simple. All contributions must go in the contributions section of the package descriptor. Then, specify a map key with the name of the configuration point you want to contribute to, and then specify (as the value of the key) the value(s) you want to contribute.

For example, to contribute a value to the ApplicationDefaults configuration point:


      user.name: fritz

That little snippet just added a value called user.name to the copland.ApplicationDefaults configuration point!