当前位置:网站首页 > Java基础 > 正文

java基础命令大全



打开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:\ /WindchillservletIE askscombusiness est-efficientrate.xml

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

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文件>

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="/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、常用命令:

  • 上一篇: 0基础java学院
  • 下一篇: java基础薄弱
  • 版权声明


    相关文章:

  • 0基础java学院2025-04-12 12:34:04
  • java入门基础合集2025-04-12 12:34:04
  • 没有java基础怎么学java2025-04-12 12:34:04
  • java手写基础算法2025-04-12 12:34:04
  • java基础语法翻译2025-04-12 12:34:04
  • java基础薄弱2025-04-12 12:34:04
  • java 继承基础题2025-04-12 12:34:04
  • java 面试题 基础2025-04-12 12:34:04
  • java基础2832025-04-12 12:34:04
  • 0基础java就业班2025-04-12 12:34:04