Integration Server 10.3 | Built-In Services Reference Guide | Replicator Folder | Summary of Elements in this Folder | pub.replicator:packageCreation
 
pub.replicator:packageCreation
WmPublic. Creates a distribution file (a zip file) for the package.
Input Parameters
package
String Name of the package.
name
String Name of the release.
version
String Version number of the release, in the format #.# or #.#.# (for example, 1.2 or 1.2.1).
build
String Build number of the release (for example, 12, 530).
patchNums
String Comma-separated list of patch numbers included in the release.
targetPkgVersion
String Version number of the target package. To prevent the installation program from overwriting an existing (higher) version of the package, this field is checked when the subscriber installs this package over an existing package.
targetServerVersion
String Version number of the webMethods Integration Server that this release requires.
JVMVersion
String Minimum JVM version number that this release requires.
description
String Brief description of this release. You might use this parameter to summarize the nature and purpose of the release.
type
String Flag indicating the type of release. Set to:
*full to indicate a full package. This is the default.
*partial to indicate a patch or an update for the package.
filter
String Flag that specifies whether all files are to be included in the distribution file or only selected files.
If only selected files are to be included, use this parameter in conjunction with fileList to specify which files to include.
Set to:
*includeall to include all the files in the distribution file. This is the default.
*include to include selected files in the distribution file.
*exclude to include all except selected files in the distribution file.
fileList
String List Names of files to include or exclude from the distribution file, depending on the value of filter.
fileNamePattern
String Pattern string that specifies the names of files to be included in the distribution file. The asterisk (*) is the only wildcard character allowed in a pattern string. All other characters are treated literally (for example, *.java, *.dsp).
filesToDeleteList
String List Optional. The names of files that will be deleted from the target package when the subscribing server installs the package created by this service.
Output Parameters
$result
String Conditional. If the distribution file is created successfully, this parameter contains the value OK. If the distribution file was not created successfully, this parameter is not present in the output signature and the service throws an exception.
Usage Notes
After you use packageCreation to create the package, use pub.replicator:addReleaseRegistryEntry to add an entry to the Package Release Registry. The package name you specify in packageCreation should match the package name you specify in pub.replicator:addReleaseRegistryEntry.