最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 正文

java常用命令 windchill学习笔记

来源:动视网 责编:小OO 时间:2025-09-24 13:08:05
文档

java常用命令 windchill学习笔记

打开WindchillHomepage:startD:\\ptc\\Windchill_9.0\Windchill\\bin\\HomePage.html1、查看Windchill版本:windchillversion2、Windchill的客制化pdf(参考文档)在这个目录下D:\\ptc\\Windchill_9.0\Windchill\\codebase\\wt\\clients\\library;其中IEUsersGuide.pdf中包含了一些常用操作,有关QueryTree的用法在W
推荐度:
导读打开WindchillHomepage:startD:\\ptc\\Windchill_9.0\Windchill\\bin\\HomePage.html1、查看Windchill版本:windchillversion2、Windchill的客制化pdf(参考文档)在这个目录下D:\\ptc\\Windchill_9.0\Windchill\\codebase\\wt\\clients\\library;其中IEUsersGuide.pdf中包含了一些常用操作,有关QueryTree的用法在W

打开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:\\\\/\Windchill\\servlet\\IE\asks\\com\\business\est-efficientrate.xml 

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](前提条件:类文件同时有*.class 和 *.ClassInfo.ser根据类名{在WT_HOME\emp下}生成*.xml文件/*.out文件,以便查看类的内容;默认生成*.out、[-x]生成*.xml)class-name 是 将WT_HOME\\codebase后面的目录改为 .  号连接;如 WT_HOME\\codebase\\wt\\part(BOMUtil.class) -->wt.part.BOMUtil 

   例:要查看 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:///Windchill/netmarkets/jsp/carambola/tools/actionReport/action.jsp 

查看property Report: 

http:///Windchill/netmarkets/jsp/property/propertyReport.jsp 

查看service Report: 

http:///Windchill/netmarkets/jsp/carambola/svc/report.jsp 

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 

130、常用命令:

            windchill (codebase)目录下类名

文档

java常用命令 windchill学习笔记

打开WindchillHomepage:startD:\\ptc\\Windchill_9.0\Windchill\\bin\\HomePage.html1、查看Windchill版本:windchillversion2、Windchill的客制化pdf(参考文档)在这个目录下D:\\ptc\\Windchill_9.0\Windchill\\codebase\\wt\\clients\\library;其中IEUsersGuide.pdf中包含了一些常用操作,有关QueryTree的用法在W
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top