Usage
java wt.load.util.UpdateEditDTDUtility <mode>_<Windchill>_<dtd_name>_<dtd_location><verbose>
Where:
• mode is the default value for this parameter is USER.
• Windchill is the Windchill home installation path.
• dtd_name is the name of the DTD that needs to be updated, such as standardX20.dtd.
• dtd_location is the directory location where the DTD resides or will be created if it does not already exist.
• verbose indicates that the utility will run in debug mode.
|
All arguments are optional. However, the order of the arguments should be preserved, if provided.
|
The utility accepts user input for both dtd_name and dtd_location. This mode allows the DTD updates for previous releases; however, by default, the current release DTD is updated. If no input is provided for the dtd_name and dtd_location parameters, the values for these are obtained from the wt.properties through the com.ptc.netmarkets.ixb.dtdName and com.ptc.netmarkets.ixb.dtdLocation properties. If none of these are provided, the default values are assumed.
The default value for com.ptc.netmarkets.ixb.dtdName is <current_release>dtd.
The default value for com.ptc.netmarkets.ixb.dtdLocation is <Windchill>/load XMLFiles.
These properties can be specified in wt.properties.
Other features include:
• The utility backs up the existing DTD and creates a new updated DTD.
• If the dtd_location does not exist, it is created.
If no parameters are supplied, the usage looks like the following. In this case, the defaults are assumed for all parameters.
java wt.load.util.UpdateEditDTDUTILITY
The following example contains the default values:
For com.ptcnetmarkets.ixb.dtdName=standardX20dtd, the content of all the DTDs residing at <Windchill>/codebase/registry/ixb/dtds/standardX20.dtd is aggregated and copied to the standardX20.dtd residing at the location specified by com.ptcnetmarkets.ixb.dtdLocation=<Windchill>\loadXMLFiles.
|
This utility works only for DTDs in the following directory:
<Windchill>/codebase/registry/ixb/dtds
|