专业化管理 > 配置您的 Windchill 环境 > 使用 Windchill Configuration Assistant 配置 Windchill > 运行 Windchill Configuration Assistant > 用于运行 Assistant 的 Ant 命令语法 > 设置命令行中的特性值
  
设置命令行中的特性值
在命令行中包含 -D<Property>=<Value> 自变量可以覆盖选定的属性值组。
Assistant 中定义了以下特性,用以覆盖运行 configureWindchill 目标时计算而得的 CPU 计数、物理内存 (MB)、空闲内存 (MB) 和厂商值:
CPUCount
physMem
freeMem
vmVendor
要使用指定特性值,指定特性必须是通过指定目标进行计算的特性。例如,在包含 4 个 CPU 和 8GB RAM 的系统中执行以下命令后,将覆盖 CPU、物理内存、空闲内存和厂商的计算值。该命令指定了 16 个 CPU、36 GB 的 RAM、32 GB 的空闲内存,并指定 IBM Corporation 作为厂商:
ant -f WindchillConfigAssistant.xml configureWindchill
-DCPUCount=16 -DphysMem=36000
-DfreeMem=32000 -DvmVendor="IBM Corporation"
通过设置运行于桌面级系统的命令中的 CPUCount、physMem 和 freeMem 特性值,Assistant 可以计算出其他值并随后用于服务器级目标系统中。
有关受每个目标影响的其他特性的列表,请参阅用于 WindchillConfigAssistant.xml 的目标