开发工具Eclipse与windchill环境集成配置

来源:互联网 发布:淮南安广网络 编辑:程序博客网 时间:2024/05/13 09:09

【开发工具Eclipse与windchill环境集成配置步骤】

【1】修改属性文件
在windchill shell中运行一下命令
xconfmanager -s wt.manager.cmd.MethodServer.nonibm.java.args="-XX:PermSize=72m -XX:MaxPermSize=200m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n" -t codebase/wt.properties -p

或者在site.conf文件中添加一下内容:
<Property name="wt.manager.cmd.MethodServer.nonibm.java.args" overridable="true"
   targetFile="codebase/wt.properties"
   value="-XX:PermSize=72m -XX:MaxPermSize=200m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n"/>
然后在windchill shell中运行xconfmanager -p命令
重启windchill系统;

【2】重要:修改Eclipse工程配置。
     取消选中:windows-->preferences-->java-->complier-->building-->outputfolder-->"scrub output folders when cleaning projects"

     注意:一定要取消选中,否则在清工作区时将删除Windchill codebase下的文件。
 
【3】创建工程文件夹 codebase, 并link关联到<Windchill_home>/codebase,

【4】配置工程build path。在libraries选项卡中,添加classFolser,选择刚刚创建的codebase文件夹;在source选项卡中设置“default output floder”到<Windchill_home>/codebase。

【5】配置debug remote java application:
 run -->打开debug configuarations dialog,双击remote java application,点击debug即可。

步骤【3】和【4】也可以一起配置(可以在添加classFoler的时候创建文件夹并Link到Windchill_Home/codebase)

原创粉丝点击