Property Files
Windchill uses standard Java property files to determine runtime configuration properties.
The codebase directory contains:
wt.properties
Contains properties used for general Java system configuration and Windchill system configuration.
service.properties
Contains properties used by the Windchill service delegate mechanism.
user.properties
Contains user overrides used by resource bundle and sql script generation tools.
moduleRegistry.properties
Contains list of registered modules.
moduleDir.properties
Contains home directory for each registered module.
The db directory contains:
db.properties
Contains properties used by the Windchill database connection layer to access the database.
The System Generation jars (SystemGeneration.jar, WindchillUtil.jar & CommonCore.jar) contain:
tools.properties
Contains properties used by resource bundle and sql script generation tools.
debug.properties
Contains properties used by Windchill code to control debug info capturing.
service.properties
Contains properties used by the Windchill service delegate mechanism, for the System Generation tools.
typedservices.properties
Contains properties used by the Windchill service delegate mechanism, for the System Generation tools. You must use typedservices.properties when the selector object type could be a subtype.
wt.properties
This is an abbreviated form of the file that is in codebase.
(Care must be taken when using a manually created classpath that includes both codebase and System Generation jars, since properties files will be loaded based on the order of the classpath components.)
The following sections discuss only a subset that you as a developer are most likely to be interested in. A complete set of properties and descriptions for the wt.properties, tools.properties, and db.properties files can be found in the properties.html file in the codebase directory.
도움이 되셨나요?