
| 打开Windchill Homepage : start D:\\ptc\\Windchill_9.0\Windchill\\bin\\HomePage.html 1、查看Windchill版本:windchill version 2、Windchill的客制化pdf(参考文档)在这个目录下D:\\ptc\\Windchill_9.0\Windchill\\codebase\\wt\\clients\\library;其中IEUsersGuide.pdf中包含了一些常用操作,有关QueryTree的用法在WCAdapterGuide.pdf 中 3、Windchill中用到的类(Class文件)都在D:\\ptc\\Windchill_9.0\Windchill\\codebase目录下;Class的使用方法和作用多在 D:\\ptc\\Windchill_9.0\Windchill\\codebase\\wt\\clients\\library\\api目录下;例如: 4、直接查看tasks 目录下的xml文件执行结果,例如D:\\ptc\\Windchill_9.0\Windchill\asks\\com\\business\est-efficientrate.xml; 在地址栏输入:http:\\\\ 10、 CTRL + C(关闭Tomcat、method server) 20、 windchill stop && windchill start(重启Windchill) 30、 修改了action.properties文件后, 需重启Method Server 和 Tomcat 以重新加载 40、 ant -f %WT_HOME%/bin/tools.xml bundle_custom -Dbundle.input =registry (可用于编译3种 resource bundles 文件,当然对 于枚举类型文件,可以用执行enumCumstmoize来代替,例如:StateRB.rbInfo ) ant -f %WT_HOME%/codebase/MakeJar.xml(修改后重建Jar文件,例如为StateRB.rbInfo 增加了Finished属性,要先执行ant -f bin/tools.xml bundle -custom -Dbundle.input =registry ,再执行这条命令) 50、 infoReport [-x] 例:要查看 WT_HOME\\codebase\\wt\\part 目录下的 BOMUtil.class文件 ,执行 infoReport wt.part.BOMUtil(会报错*** d:\\ptc\\Windchill_9.0\Windchill\\codebase\\wt\\part\\ProductProductInstance does not meet criteria for having an info object),原因是这个类的类型不符; 如果使用 WT_HOME\\codebase\\wt\\part 目录下的 ProductProductInstance.class文件 ,执行 infoReport wt.part.ProductProductInstance;成功了(在WT_HOME\emp下生成了*.out文件) 60、windchill com.ptc.netmarkets.util.misc.NmActionServiceHelper (用于重载 *_actionModel.xml;相当于重启Tomcat和method server)====java com.ptc.netmarkets.util.misc.NmActionServiceHelper 70、ResourceBuild *(*是*.rbInfo文件名;即取src后面的去掉后缀的文件名;例如 ext.business.client.*) <用于编译*.rbInfo文件> 80、xconfManager -i path/name -p (用于根据*.properties 文件 第一次生成*.properties.xconf) xconfManager -p (用于更新对已有*.properties 文件所做的修改) xconfManager -h 查看xconfManager 命令 windchill -h 查看Windchill帮助命令 90、查看action report: http:// 查看property Report: http:// 查看service Report: http:// 100、在action.properties、action_en_US.properties、action_en_GB.properties、action_zh_CN.properties、action_zh_TW.properties 更新属性后,必须在任意Internet页面的选项卡“工具-Internet选项-语言”中选择对应的语言, 改变结果才能正常显示出来,例如:当语言选中了,英语(美国)[en-us]时,只能显示action_en_US.properties中的属性 110、Jsp常用标签、导入: <%@ include file="/netmarkets/jsp/util/begin.jspf"%> <%@include file="/netmarkets/jsp/util/end.jspf"%> <%@ taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%> <%@ taglib uri ="http://www.ptc.com/windchill/taglib/components" prefix="wca"%> <%@ taglib uri="http://www.ptc.com/windchill/taglib/carambola" prefix="cmb"%> 120、编译Class文件到指定目录;例如要将 D:\\ptc\\Windchill_9.0\Windchill\\src\\com\\business\\CustomWCAHelper.java 编译生成Class文件到 D:\\ptc\\Windchill_9.0\Windchill\\codebase\\com\\business 目录下:(命令如下) javac D:\\ptc\\Windchill_9.0\Windchill\\src\\com\\business\\CustomWCAHelper.java -d D:\\ptc\\Windchill_9.0\Windchill\\codebase |
windchill (codebase)目录下类名
