Running the Windchill Replication Package ZIP Delivery Command Line Utility
Before you can run the Windchill Replication Package ZIP Delivery command line utility, a replication package with associated delivery and ZIP file must be available on the Windchill system.
The following options are available for the zip-delivery command of the com.ptc.windchill.rd.cli.WindchillPackage command line utility:
Option
Required?
Description
-f
-full
No
Creates a new full delivery of the package information.
If this option is not specified, then an incremental delivery is created based on the latest delivery for the package. This option cannot be used with the -base option.
-b
-base
No
Use this option to specify a non-latest version of the package to use for the base delivery.
If this option is not specified, then an incremental delivery is created from the latest version of the package. This option cannot be used with the -full option.
-d
-description
No
Specify a new description for the new iteration or revision of the package.
-u
-user
Yes
The username of the Windchill user running the command. The user running the command must be a valid Windchill user and must have the appropriate permissions to work with the replication package and its associated delivery.
-r
-revise
No
Creates a new revision of the package.
If this option is not specified, then a new iteration of the package is created. This option cannot be specified with the -zipLatest option.
-z
-zipLatest
No
Use the existing delivery associated with the latest version of the package. This option cannot be specified with the -revise option.
-n
-number
Yes
The replication package number for which you are creating the new delivery and ZIP files.
-l
-location
No
Directory into which the ZIP files are placed on the local system.
If this option is not specified, the ZIP files are not copied to the local system.
-h
-help
No
Use this option to display help text for the utility. The help text lists full descriptions of each option as well as the syntax for running the utility.
-t
Downgrade Release
No
Use this option to create the release specific downgrade ZIP file for a package. You can specify comma separated list of downgrade releases.
* 
The value of release number is internal.
-p
No
Creates a base or an incremental delivery as fault tolerant.
The p parameter takes precedence over the com.ptc.windchill.wp.faulttolerance.isenabled property. However, if this parameter is not specified, the value set in the property is used. For more information, see Enabling Fault Tolerance Using Command Line Utility.
To run the utility in a Windchill shell, specify the following command with the options listed in the table: java com.ptc.windchill.rd.cli.WindchillPackage zip-delivery
To run the utility outside of a Windchill shell, specify the following command with the options listed in the table: Windchill\bin>windchill.exe com.ptc.windchill.rd.cli.WindchillPackage zip-delivery
After the package delivery ZIP file has been created, a confirmation message appears and the command displays the URL for the delivery attachment page. An email is sent to the email address associated with the user specified in the command.
Est-ce que cela a été utile ?