Chapter 12, Using jagtool and jagant

sync Synchronizes entities in the current repository to one or more remote repositories. Synchronization can be used to create identically configured servers in a cluster, or to copy entities from one server to another.

Syntax

Local mode support: No.

Command line:

sync connect-args
[-syncjavaclasses true|false]

Ant build file:

<jag_sync 
[syncjavaclasses="true|false"]
entity=”entity” />

Option

Description

Default

Required

syncjavaclasses

When synchronizing Web application files, whether to include class files included in the Web application’s custom class list. This option has a higher priority than - syncjavaclasses [true | false].

true

No