Customization > Working with Properties > Manipulating Property Files
Manipulating Property Files
Most property files should be manipulated using the configurations/xconf/custom.site.xconf file. This file stores the property values you set in the <Windchill>/site.xconf file. The values are then propagated to the appropriate *.properties files. If a PTC maintenance update delivers changes to properties that you have changed, the CCD package automatically propagates the property changes stored in your configurations/xconf/custom.site.xconf file on top of the PTC updates.
In many cases, there is a one-to-one correspondence between an *.xconf file and its *.properties file; for example codebase/wt.properties.xconf and codebase/wt.properties. In other cases, there is not a matching XCONF file. Even without an associated XCONF file, a properties file can still be manipulated using the configurations/xconf/custom.site.xconf file.
The following codebase properties are not suitable for customization. So these properties should not be manipulated using the configurations/xconf/custom.site.xconf file.
associationRegistry.properties
descendentRegistry.properties
modelRegistry.properties
moduleRegistry.properties
moduleDir.properties
debug.properties
If there are a lot of new properties that you need to add to a file such as wt.properties, rather than using the configurations/xconf/custom.site.xconf file to set each property, consider creating your own declarative XCONF file. In this file, you declare the properties with a targetFile of wt.properties. Then, place them under your module in the main/xconf location and run the ant deploy command in CCD. This will automatically install this file into the declarations.xconf file. For information on creating a service provider property file, see Adding a Custom Service Provider Property File.
Was this helpful?