将服务器安装的Windchill迁移到本地分区以便用于开发和测试
2015-05-14 14:11
369 查看
打开Windchill分区的目录结构,其中
dbfile: 数据库客户端程序以及备份数据库
eclipse-kepler: EclipseIDE开发环境
ptc: 服务器上的Windchill_10.2的所有子目录(除SQLServer之外)
1. 必须将windchill.vhd的盘符改为[W], 否则系统无法正常运行,因为下面的配置文件修改皆是针对W盘生效的。
2. 必须在本地的hosts文件中添加域名解析项: acmserv.techpubsglobal.com 指向127.0.0.1
3. 调整W:\ptc\Windchill_10.2\Windchill\db\db.properties中的参数:
wt.pom.jdbc.database=[acm]
wt.pom.jdbc.host=[192.168.1.26]
wt.pom.jdbc.service=[WINDCHILL]
注:SQLServer数据库不在本地系统中,这里是远程连接到数据库服务器192.168.1.26
4. 修改Windchill/codebase/wt.properties中的盘符
C\:\\ptc\\Windchill_10.2 -->> W\:\\ptc\\Windchill_10.2
5. 修改Windchill/codebase/WEB-INF/web.xml
C:/ptc/Windchill_10.2 -->> W:/ptc/Windchill_10.2
6. 修改Windchill/tomcat/conf/Catalina/localhost/*.xml
C:\ptc\Windchill_10.2 -->> W:\ptc\Windchill_10.2
7. 修改HTTPServer/conf/httpd.conf
C:/ptc/Windchill_10.2 -->> W:/ptc/Windchill_10.2
8. 修改HTTPServer/conf/extra/*
C:/ptc/Windchill_10.2 -->> W:/ptc/Windchill_10.2
9. 修改WindchillDS/server/lib/set-java-home.bat
C:/ptc/Windchill_10.2 -->> W:/ptc/Windchill_10.2
10. 修改Solr相关配置
Windchill\solr-home\wblib\conf\solrcore.properties
data.dir=C\:\\ptc\\Windchill_10.2\\Windchill\\solr\\data
spell.dir=C\:\\ptc\\Windchill_10.2\\Windchill\\solr\\spellIndex
Windchill\solr-home\clflib\conf\solrcore.properties
data.dir=C\:\\ptc\\Windchill_10.2\\Windchill\\solr\\data
Windchill\solr-home\clfstructurelib\conf\solrcore.properties
data.dir=C\:\\ptc\\Windchill_10.2\\Windchill\\solr\\data
11. scripts目录中存放的是所有启动脚本
12. 在wt.properties, wt.java.classpath首部添加
$(wt.home)$(dir.sep)devclasses$(dir.sep)trmclass$(path.sep)$(wt.home)$(dir.sep)devclasses$(dir.sep)wfclass$(path.sep)
Eclipse中的Preference/General/Workspace/Linked Resource,
添加DEV_OUTPUT_CLASS=W:\ptc\Windchill_10.2\Windchill\devClasses
设置svn中的项目的编译class目录输出,其中
项目techrevmanger
指向的Linked Resource=${DEV_OUTPUT_CLASS}\trmclass
techrevmanager-workflow
指向的Linked Resource=${DEV_OUTPUT_CLASS}\wfclass
13. 在Eclipse中修改techrevmanager,techrevmanager-workflow中的源代码,只要不是新增/删除方法或者类
通过techagent.jar中的定制HotAgent,实现Java代码热部署
dbfile: 数据库客户端程序以及备份数据库
eclipse-kepler: EclipseIDE开发环境
ptc: 服务器上的Windchill_10.2的所有子目录(除SQLServer之外)
1. 必须将windchill.vhd的盘符改为[W], 否则系统无法正常运行,因为下面的配置文件修改皆是针对W盘生效的。
2. 必须在本地的hosts文件中添加域名解析项: acmserv.techpubsglobal.com 指向127.0.0.1
3. 调整W:\ptc\Windchill_10.2\Windchill\db\db.properties中的参数:
wt.pom.jdbc.database=[acm]
wt.pom.jdbc.host=[192.168.1.26]
wt.pom.jdbc.service=[WINDCHILL]
注:SQLServer数据库不在本地系统中,这里是远程连接到数据库服务器192.168.1.26
4. 修改Windchill/codebase/wt.properties中的盘符
C\:\\ptc\\Windchill_10.2 -->> W\:\\ptc\\Windchill_10.2
5. 修改Windchill/codebase/WEB-INF/web.xml
C:/ptc/Windchill_10.2 -->> W:/ptc/Windchill_10.2
6. 修改Windchill/tomcat/conf/Catalina/localhost/*.xml
C:\ptc\Windchill_10.2 -->> W:\ptc\Windchill_10.2
7. 修改HTTPServer/conf/httpd.conf
C:/ptc/Windchill_10.2 -->> W:/ptc/Windchill_10.2
8. 修改HTTPServer/conf/extra/*
C:/ptc/Windchill_10.2 -->> W:/ptc/Windchill_10.2
9. 修改WindchillDS/server/lib/set-java-home.bat
C:/ptc/Windchill_10.2 -->> W:/ptc/Windchill_10.2
10. 修改Solr相关配置
Windchill\solr-home\wblib\conf\solrcore.properties
data.dir=C\:\\ptc\\Windchill_10.2\\Windchill\\solr\\data
spell.dir=C\:\\ptc\\Windchill_10.2\\Windchill\\solr\\spellIndex
Windchill\solr-home\clflib\conf\solrcore.properties
data.dir=C\:\\ptc\\Windchill_10.2\\Windchill\\solr\\data
Windchill\solr-home\clfstructurelib\conf\solrcore.properties
data.dir=C\:\\ptc\\Windchill_10.2\\Windchill\\solr\\data
11. scripts目录中存放的是所有启动脚本
12. 在wt.properties, wt.java.classpath首部添加
$(wt.home)$(dir.sep)devclasses$(dir.sep)trmclass$(path.sep)$(wt.home)$(dir.sep)devclasses$(dir.sep)wfclass$(path.sep)
Eclipse中的Preference/General/Workspace/Linked Resource,
添加DEV_OUTPUT_CLASS=W:\ptc\Windchill_10.2\Windchill\devClasses
设置svn中的项目的编译class目录输出,其中
项目techrevmanger
指向的Linked Resource=${DEV_OUTPUT_CLASS}\trmclass
techrevmanager-workflow
指向的Linked Resource=${DEV_OUTPUT_CLASS}\wfclass
13. 在Eclipse中修改techrevmanager,techrevmanager-workflow中的源代码,只要不是新增/删除方法或者类
通过techagent.jar中的定制HotAgent,实现Java代码热部署
相关文章推荐
- android开发真机通过局域网连接本地服务器测试的问题?
- 阿里云服务器 ubuntu 12.4 安装workerman与3个简单开发实例测试
- 在mac本地搭建rtmp服务器用于测试
- 安装nginx服务器用于rtmp(ios端)推流测试
- pycharm安装,svn使用,远程开发调试,接口测试,连接服务器
- android开发真机通过局域网连接本地服务器测试的问题?
- webservice上传到服务器,“测试窗体只能用于来自本地计算机的请求”问题的解决
- webservice上传到服务器,“测试窗体只能用于来自本地计算机的请求”问题的解决
- webservice上传到服务器,“测试窗体只能用于来自本地计算机的请求”问题的解决
- 基于nodejs实现本地网页服务器-实现手机测试电脑开发的移动端网页
- 问题很可能是因为本地 Web 服务器上没有安装所需的组件。请运行 Visual Studio .NET 安装程序并添加 Web 开发组件。
- Chrome网络服务器,用于Chrome测试本地网络应用程序
- Debian 6.0.2在VirtualBox中安装和配置,用于驱动开发测试
- pycharm安装,svn使用,远程开发调试,接口测试,连接服务器
- 求解啊,我在android中开发,写入sd卡的时候出现了错误,测试了能够连接了到本地服务器的文件了,就是写入sd卡的时候不能写入
- 一种在本地搭载一个服务器的工具和方法,Android开发测试网络视频可以用
- Mac本地搭建Apache服务器步骤,方便我们开发中网络测试
- 无法创建网站“http://localhost:8082/WebSite”。若要在本地 IIS Web 服务器上访问网站,必须以管理员帐户运行 Visual Studio 以便能够访问 IIS 元数据库。也可以安装 FrontPage 服务器扩展(FPSE
- AppNinja 开发手记3: 安装 ipa 的本地 http 服务器 plist
- android开发真机通过局域网连接本地服务器测试的问题?