windchill 小技巧和命令

一. 清理缓存:

删除此目录下的所有文件:\ptc\Windchill_11.0\Windchill\tomcat\instances

二. 刷入jar包命令:

  1. 将需要导入的jar包放入 codebase/WEB-INF/lib

  2. 执行命令: ant -f codebase/MakeJar.xml

  3. 如图:

三. windchill控制台携带用户信息

windchill --javaargs="-Dcom.ptc.net.auth.user=用户名 -Dcom.ptc.net.auth.password=密码" ext.bica3.part.ChangePartNumberUtil

如图:

四.重新编译

ant -f codebase/MakeJar.xml  custUpdate

五.强制编译资源文件

ant -f bin/tools.xml bundle_custom -Dbundle.forceCompile=true -Dbundle.input=registry

posted @ 2020-11-05 10:37  Wzzzz~  阅读(1186)  评论(0)    收藏  举报