Enabling Fault Tolerance Using Command Line Utility
You can enable or disable fault tolerance using the Windchill Replication Package ZIP Delivery command line utility. Specify the parameter p as true to create a base or an incremental delivery as fault tolerant.
For example: windchill com.ptc.windchill.rd.cli.WindchillPackage zip-delivery -u demo -p true -z -n 1234567 -l "D:\exportFiles\packageDeliveries\20131201"
The p parameter takes precedence over the property com.ptc.windchill.wp.faulttolerance.isenabled
For example, when the com.ptc.windchill.wp.faulttolerance.isenabled property is set to false, but the parameter p is set to true, the delivery is created as fault tolerant. Similarly, when the property is set to true, but the parameter is set to false, the delivery is not created as fault tolerant.
However, if you do not set the parameter value, the fault tolerance feature uses the value set in the property.
這是否有幫助?