将特性值添加到多值特性或从多值特性移除特性值
要为在 wt.java.classpath 特性中指定的 Windchill classpath 的末尾添加新 classpath 条目 (d:\MyLibaries\somelibrary.jar),请从 Windchill shell 执行以下命令:
xconfmanager --add wt.java.classpath=d:\MyLibaries\somelibrary.jar -p
d:\MyLibaries\somelibrary.jar 将被添加到有序集的末尾。您不必指定分隔符 $(path.sep),因为 xconfmanager 会自动将分隔符添加到特性值。
要从 wt.java.classpath 特性移除在先前示例中添加的 classpath 条目,请从 Windchill shell 执行以下命令:
xconfmanager --remove wt.java.classpath=d:\MyLibaries\somelibrary.jar -p
d:\MyLibaries\somelibrary.jar 被移除。
* 
先前的示例命令不包括目标文件 (在 -t 参数中)。当已知属性仅存在于一个现有属性文件中时,不需要目标文件。
这对您有帮助吗?