Table of Contents
DeltaXML Sync
Welcome to DeltaXML Sync. Sync enables you to produce a synchronization result from three input files. The exact details of how the synchronization works depend on which synchronization ruleset you use, controlled via a Feature setting.
Sync now features a completely new algorithm which enables synchronization of larger files with faster, more accurate synchronization than previous versions. Also included is the new PipelinedSynchronizer API for simpler, easier to understand pipeline building.
This release contains:
The
com.deltaxml.sync.pipelinedpackage: an API for easy synchronization pipeline construction using Java or XSLT filtersThe
com.deltaxml.sync.jaxppackage: a JAXP-compatible low level API for DeltaXML SyncThe
synccommand.jarcommand-line interface (no programming required)
For support information and further technical details, please refer to the following pages on the DeltaXML website:
Support Forums: http://www.deltaxml.com/forum/
Documentation index: http://www.deltaxml.com/library/
Guide to using Sync: http://www.deltaxml.com/library/sync-intro.html
DeltaV2 Format Specification: http://www.deltaxml.com/dxml/library/deltav2-format-specification.html
DeltaXML Tour: http://www.deltaxml.com/library/tour-of-deltaxml.html
A licence key is required to activate the DeltaXML Sync code. The activation process is carried out by typing commands into a shell or terminal window.
You should have received your licence as an email attachment. Save this attachment,
e.g. my_name.lic, to the directory that contains
sync.jar. To activate this licence, run the command:
java -jar sync.jar activate my_name.lic
Other commands available are:
- deactivate
Removes all installed Named User or Server licences
java -jar sync.jar deactivate
- license
Prints out the current licence information
java -jar sync.jar license
Depending on the type of licence being used or evaluated, some constraints apply to the activation procedure:
- If you are installing a server licence the activation should typically be performed by a user with elevated privileges, for example privileges to create/write files in system areas. Such users include those with Administrator privileges on Windows or MacOSX systems, or root users on Unix.
- DeltaXML enterprise licences are provided in pre-built DeltaXML releases, specific to each customer; there is no need to activate such releases.
- If you purchase a DeltaXML licence, we recommend that you deactivate any evaluation licences before activating a full licence. Similarly, if you upgrade from a personal licence to a server licence, we recommend deactivating any existing licence.
DeltaXML Sync takes three XML input files and produces a synchronization result based on a set of synchronization rules, defined in a ruleset. Sync can be configured within a pipeline using Java and XSLT filters, giving it a powerful flexibility to fit in with your requirements. Find out more in the Sync section of the DeltaXML Tour.
This new API, first included in the 2.0 release, provides an easy method of constructing synchronization pipelines
incorporating either Java or XSLT based filtering, or even a mixture of the two. You can construct the pipelines in Java
or in XML using a 'dxp' (DeltaXML pipeline) file. A dxp file can be read directly by the command-line processor. Please
consult the samples and javadoc included
in the release, particularly the com.deltaxml.sync.pipelined package documentation.
To determine the version information for the API, invoke:
java -jar sync.jar
The JAXP compatible API provides more functionality than the PipelinedSynchronizer API but requires more programming experience and more code.
For full API details please read the package description by navigating from docs/api/index.html
The release includes a command line processor which can be used to perform synchronization operations on local files through a simple command line interface. The interface is contained in synccommand.jar and is used like this:
java -jar synccommand.jar status
java -jar synccommand.jar sync deltav2 file1.xml file2.xml file3.xml result.xml {param=value}
java -jar synccommand.jar ...
Further details are in the file docs/command-processor.html
The samples directory contains some sample programs, their data and Ant build scripts. Each sample directory contains a ReadMe file to explain the sample in more detail and to give examples of how to run it if you don't have Apache Ant.
The samples/dxp directory contains the dxp files used by default by the command line processor
as well as a DTD file for validation of your custom dxp files. Use these samples as a starting point for specifying
your own pipelines.
Please read the samples ReadMe for more information.
We are always keen to improve our products, please visit our Support Forums if you have any comments or suggestions while using DeltaXML Sync. We hope you enjoy it!
The DeltaXML Team.