专业化管理 > 配置您的 Windchill 环境 > 使用 Windchill Configuration Assistant 配置 Windchill > 运行 Windchill Configuration Assistant > 用于运行 Assistant 的 Ant 命令语法 > 用于 WindchillConfigAssistant.xml 的目标 > 用于从中间文件传播值的目标
  
用于从中间文件传播值的目标
下表列出了可选择用来从中间文件传播特性值的目标。Windchill Configuration Assistant 使用 xconfmanager 实用程序来传播 Windchill 特性。
* 
要执行这些目标,site.xconf 文件中必须存在 ConfigurationRef 元素。
运行 propagate 目标之前,Assistant 会进行检查以确保存在关联的中间文件。如果所需的中间文件不存在,则 Assistant 在尝试传播相关特性值之前返回一个错误以指示这一情况。要纠正此问题,可以重新运行生成中间文件的相应目标。
Embedded Servlet Engine (以前称为 Tomcat) 特性不由 xconfmanager 实用程序管理。初始安装后,Embedded Servlet Engine 安装目录包含一个名为 config.properties 的特性文件和一个名为 config.xml 的构建脚本。使用相关联的 config.properties 中的值从模板文件重新生成 Embedded Servlet Engine 配置文件。运行 config.xml 脚本时,将重新生成以下文件 (其中包含模式特性的值),并且已进行的任何手动编辑均会丢失:
<Windchill>/tomcat/conf/web.xml
* 
无论在 ant 命令中指定的 propagate 自变量值为何,这些目标都会传播更改。
propagateWindchill
调用 xconfmanager -p -F 以将值从 <Windchill>/utilities/wca/conf/windchill/windchillconfigurator.xconf 传播至 windchill 特性文件。
将存储在方法服务器 MBean 配置文件的 Windchill Configuration Assistant 中间副本中的方法服务器 MBean 配置特性复制到方法服务器 MBean 配置文件 (<Windchill>/codebase/WEB-INF/methodServerMBeanConfig.xml)。
* 
运行 configureWindchill 目标并创建中间配置文件后,如果运行 propagateWindchill 目标,则由方法服务器 Loader MBean 保存操作执行的任何其他方法服务器更改都会丢失。有关保存 MBean 更改的详细信息,请参阅使用 Loader MBean 保存配置更改
使用 setEmailList ant 目标,将存储在方法服务器 MBean 配置文件的中间副本中的 JMX-Administrators 列表的内容应用到所有 JMX-Administrators 列表。有关电子邮件列表以及 Windchill Configuration Assistant 所使用的 ant 脚本的详细信息,请参阅填充 JMX-Administrators 列表
* 
由于执行此操作,所有 JMX-Administrators 列表都将包含相同的电子邮件地址列表。要在完成传播后修改各个列表,可从 JMX 客户端导航至特定的 JMX-Administrators MBean,并在更改列表后使用 Loader MBean 保存这些更改。
指定 configureWindchill 和 configure 目标时,如果在 ant 命令中包括 -Dpropagate=true 自变量,则可调用 xconfmanager 传播更改。使用 -Dpropagate=true 自变量即可实现传播,而不是使用 propagateWindchill 目标。
propagateTomcat
将在名为 <Windchilll>/utilities/wca/conf/tomcat/config.properties 的中间特性文件中找到的特性值传播至目标 Embedded Servlet Engineconfig.properties 文件,并在 <Windchill>/tomcat/config.xml 中执行 configureJspEngine ant 目标。
传播
调用以下目标:
propagateWindchill
propagateTomcat
如果使用 propagate 目标,则效果将与运行两次 Windchill Configuration Assistant 相同,且每次使用一个已列出的目标。