打开Windchill Homepage:start D:ptcWindchill_9.0WindchillbinHomePage.html
1、查看Windchill版本:windchill version
2、Windchill的客制化pdf(参考文档)在这个目录下
D:ptcWindchill_9.0Windchillcodebasewtclientslibrary;其中IEUsersGuide.pdf中包含了一些常用操作,有关QueryTree的用法在WCAdapterGuide.pdf中
3、Windchill中用到的类(Class文件)都在D:ptcWindchill_9.0Windchillcodebase目录下;Class的使用方法和作用多在
D:ptcWindchill_9.0Windchillcodebasewtclientslibraryapi目录下;例如:
4、直接查看tasks目录下的xml文件执行结果,例如
D:ptcWindchill_9.0Windchill askscombusiness est-efficientrate.xml;
在地址栏输入:
http:\
10、CTRL+C(关闭Tomcat、method server)
20、windchill java基础命令大全 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_HOMEcodebasewtpart(BOMUtil.class)-->wt.part.BOMUtil
例:要查看WT_HOMEcodebasewtpart目录下的BOMUtil.class文件,执行infoReport wt.part.BOMUtil(会报错*
d:ptcWindchill_9.0WindchillcodebasewtpartProductProductInstance does not meet criteria for having an info object),原因是这个类的类型不符;
如果使用WT_HOMEcodebasewtpart目录下的ProductProductInstance.class文件,执行infoReport wt.part.ProductProductInstance;成功了(在WT_HOME emp下生成了*.out文件)
60、windchill markets.util.misc.NmActionServiceHelper(用于重载
*_actionModel.xml;相当于重启Tomcat和method server)====java
markets.util.misc.NmActionServiceHelper
70、ResourceBuild*(*是*.rbInfo文件名;即取src后面的去掉后缀的文件名;例如
ext.business.client.*) <用于编译*.rbinfo文件>用于编译*.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="/infoengine/taglib/core"prefix="ie"%>
<%@taglib uri="/windchill/taglib/components"prefix="wca"%> <%@taglib uri="/windchill/taglib/carambola"prefix="cmb"%>
120、编译Class文件到指定目录;例如要将
D:ptcWindchill_9.0WindchillsrccombusinessCustomWCAHelper.java
编译生成Class文件
到D:ptcWindchill_9.0Windchillcodebasecombusiness目录下:(命令如下)
javac
D:ptcWindchill_9.0WindchillsrccombusinessCustomWCAHelper.java
-d D:ptcWindchill_9.0Windchillcodebase
130、常用命令:
版权声明:
本文来源网络,所有图片文章版权属于原作者,如有侵权,联系删除。
本文网址:https://www.bianchenghao6.com/h6javajc/2794.html