专业化管理 > 配置您的 Windchill 环境 > 使用 Windchill Configuration Assistant 配置 Windchill > 运行 Windchill Configuration Assistant > 用于运行 Assistant 的 Ant 命令语法 > 在传播模式下运行 Windchill Configuration Assistant
  
在传播模式下运行 Windchill Configuration Assistant
Windchill Configuration Assistant 运行用于计算推荐配置值的目标时,其会将更新后的特性名称/值对存储在具有如下名称的文件中:
<Windchill>/utilities/wca/conf/windchill/windchillconfigurator.xconf
如果 ConfigurationRef 元素已添加到 site.xconf 文件 (如用于 site.xconf ConfigurationRef 元素的目标中所述),则该 XCONF 文件中的特性可通过 xconfmanager 实用程序传播至受其管理的各种特性文件。
Windchill Configuration Assistant 中有一个选项可用于调用 xconfmanager 实用程序,以将计算所得的全部特性值传播到相应特性文件。默认情况下,Windchill Configuration Assistant 不会传播值;因此,除非在执行有效目标时将 ant 命令行中的 propagate 自变量明确设置为“真”,否则不会传播计算所得的特性值。
要在传播模式下运行 Assistant,ant 命令中应包含 -Dpropagate=true
ant -f WindchillConfigAssistant.xml target
-Dpropagate=true
-Dpropagate=true 自变量对以下目标有效:
configure
configureWindchill
configureTomcat
如果在 ant 命令中指定其他目标,则 Assistant 运行时不检查 propagate 特性的值。因此,不使用 -Dpropagate=true 自变量。
* 
如果要同时在自动和传播模式下运行,可包含 -Dinteractive=false-Dpropagate=true 这两个自变量。
* 
如果在传播模式下执行 Windchill Configuration Assistant,将自动向 site.xconf 文件添加 ConfigurationRef 元素 (如果尚未存在)。无论 installConfigRef 目标是否运行,都会执行这一添加操作。请参阅用于 site.xconf ConfigurationRef 元素的目标