专业化管理 > 配置您的 Windchill 环境 > 使用 Windchill Configuration Assistant 配置 Windchill > 运行 Windchill Configuration Assistant > 用于运行 Assistant 的 Ant 命令语法 > 用于 WindchillConfigAssistant.xml 的目标 > 用于 site.xconf ConfigurationRef 元素的目标
  
用于 site.xconf ConfigurationRef 元素的目标
Assistant 使用 site.xconf 文件中的 ConfigurationRef 元素,在 site.xconf 文件中保存的站点管理特性值和那些因运行 configure 和 configureWindchill 而设置的值之间建立链接。
ConfigurationRef 元素中的 xlink:href 值集是 windchillconfigurator.xconf 文件的部分文件路径。例如:
<ConfigurationRef xlink:href="utilities/wca/conf/windchill/windchillconfigurator.xconf"/>
如果尚不存在 ConfigurationRef 元素,则在执行 configure 或 configureWindchill 目标的 ant 命令中包括 -Dpropagate=true 时,该元素会自动添加到 site.xconf 文件。
如果要使用 propagate 或 propagateWindchill 目标来传播存储在 windchillconfigurator.xconf 文件中的值,则在执行目标前,site.xconf 文件中必须存在 ConfigurationRef 元素。
下表介绍了可用于添加和移除 ConfigurationRef 元素的目标:
目标
说明
installConfigRef
site.xconf 文件添加 ConfigurationRef 元素,并在 <Windchill>/utilities/wca/conf/windchill 目录中创建一个 windchillconfigurator.xconf 空文件。
如果 ConfigurationRef 元素已添加到 site.xconfwindchillconfigurator.xconf 文件已存在,则目标会成功完成,但不会做出任何更改。
如果 ConfigurationRef 元素已添加到 site.xconfwindchillconfigurator.xconf 文件尚不存在,则创建一个 windchillconfigurator.xconf 空文件。
uninstallConfigRef
site.xconf 文件中移除 ConfigurationRef 元素。
如果 site.xconf 文件中不存在该元素,不会返回任何错误。