Merging property files in EAServer JAR archives

You can add merge files to EAServer JAR files so that property files are merged rather than being overwritten. Normally, an EAServer JAR file contains all the properties for the entities exported in the archive. In some cases, you may not want to overwrite existing property files. For example, if you create an entity collection that contains a server, you may not want to overwrite the existing server properties when the archive is imported.

You can also add “cleaner” files, which cause entities to be removed entirely when an archive is exported.

StepsCreating an archive that contains merge files

  1. Create the merge and cleaner files for the entities to be exported.

  2. For each entity that requires a merge or cleaner file, add the file name to the entities .files property (that is, the property that ends in .files, such as com.sybase.jaguar.component.files).

  3. Create the archive using jagtool or EAServer Manager.