读书人

怎么在eclipse中直接调用windchill的A

发布时间: 2013-09-11 18:19:30 作者: rapoo

如何在eclipse中直接调用windchill的API

如何在eclipseJava Project中直接调用windchillAPI并运行程式

?

Alias:WC_HOME = *:\ptc\Windchill_9.1(*指具体的某个盘符)

?

?????? RemoteMethodServer rms = RemoteMethodServer.getDefault();

?????? GatewayAuthenticator auth = new GatewayAuthenticator();

?????? auth.setRemoteUser("wcadmin");

?????? rms.setAuthenticator(auth);

?

(%WC_HOME%\codebase),这样在更改了java文件或者properties文件之后可以不用重启tomcat而直接运行程序。

?

注:windchill版本为9.1

RemoteMethodServer rms = RemoteMethodServer.getDefault();rms.setUserName("admin");rms.setPassword("123456");
我的异常网推荐解决方案:configure build path,http://www.myexception.cn/eclipse/4586.html

读书人网 >Eclipse开发

热点推荐