Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 850 Bytes

cobigen-propertyplugin.asciidoc

File metadata and controls

13 lines (9 loc) · 850 Bytes

Property Plug-in

The CobiGen Property Plug-in currently only provides different merge mechanisms for documents written in Java property syntax.

Merger extensions

There are two merge strategies for Java properties, which can be configured in the templates.xml:

  • Merge strategy propertymerge (merges two properties documents and keeps the existing properties on conflicts)

  • Merge strategy propertymerge_override (merges two properties documents and overrides the existing properties on conflicts)

Both documents (base and patch) will be parsed using the Java 7 API and will be compared according their keys. Conflicts will occur if a key in the patch already exists in the base document.