Windchill开发环境的配置需要很多jar包,但是这些jar都分散在windchill安装目录的很多地方。所以此篇文章进行总结。
<WT_HOME>:这个是windchill安装目录。
需要的jar包在如下目录
1 <WT_HOME>\codebase\lib
2 <WT_HOME>\codebase\WEB-INF\lib
3 <WT_HOME>\codebase\srclib\lib
4 <WT_HOME>\lib
需要打包的class文件,使用如下ant脚本
<project name="makeCCjars" default="makeCCjars" basedir="<WT_HOME>/codebase">
<target name="makeCCjars">
<jar destfile="d:/student/custom/M030codebase.jar"
basedir="<WT_HOME>/codebase"
excludes="**/ext/*"
includes="**/*.class"
/>
</target>
&

本文详细介绍了如何配置Windchill开发环境,包括需要从Windchill安装目录的特定路径下收集jar包,如<WT_HOME>codebaselib等,并通过ant脚本生成M030codebase.jar。在Eclipse中,需将所有jar添加到classpath,并在遇到报错时添加Annotations.jar。确保使用utf-8编码,并可在后续开发中按需添加第三方库到<WT_HOME>codebaseWEB-INFlib。
7200

被折叠的 条评论
为什么被折叠?



