开发环境配置指南
来源:百度文库 编辑:神马文学网 时间:2024/04/28 12:42:37
客户端开发环境配置(Delphi7)
注:访问192.168.71.252服务器的用户名/密码:publicer/epsoftpub
1. 安装Delphi7
安装源程序在\\192.168.71.252\共享资源\归档\Delphi7 ,运行setup.exe进行安装。安装好后运行Delphi,确保Delphi安装正确(Delphi的基本组件是否安装完全)。
2. 下载客户端源程序
将\\192.168.71.252\共享资源\二版开发\源程序下的INSIIS目录复制到你的机器上,例如放在D盘根目录下。
3. 安装第三方组件
l 安装DevExpress系列控件,安装源文件在\\192.168.71.252\共享资源\归档\DevExpress 目录中,按照“安装方法.txt”文件中的说明安装这套控件;
l 安装EPSiComponen(客户端源程序\Component\EPSiComponent\EPSiPackage.dpk),在Delphi的Environment Options中需要引入其路径。
4. 设置Delphi开发环境
l 打开Delphi菜单->Tools->Environment Options,选择Tab页Library,如下图:
l 配置Library path:中的路径,如下图:
配置结果包含如下路径:
$(DELPHI)\Source\Vcl
$(DELPHI)\Lib
$(DELPHI)\Bin
$(DELPHI)\Imports
$(DELPHI)\Projects\Bpl
$(DELPHI)\Rave5\Lib
C:\Program Files\Developer Express Inc\CX Library\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressBars\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressCommon\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressDataController\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressDBTree\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressEditors Library\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressEditors Library 5\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressExport Library\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressFlowChart\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressGDI+ Library\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressInplaceEditors\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressLayout Control\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressMasterView\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressMemData\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressNavBar\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressOrgChart\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressPageControl 2\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressPrinting System\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressQuantumGrid\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressQuantumGrid 5\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressQuantumTreeList 4\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressScheduler\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressSpreadSheet\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressVerticalGrid\Delphi 7\Sources
C:\Program Files\Developer Express Inc\XP Theme Manager\Delphi 7\Sources
D:\INSIIS\test_client\Component\EpSiComponent
说明:
l 以上路径是按系统默认安装的路径,$(DELPHI)=D:\Borland\Delphi7。
l D:\Borland\Delphi7\Source\Vcl放在最上面。
服务器端开发环境配置
1. 安装JDK 1_4_2_09
安装源程序在\\192.168.71.252\共享资源\Sun.JDK 目录中,运行j2sdk-1_4_2_09-windows-i586-p.exe进行安装,例如安装在D:\j2sdk1.4.2_09。
2. 安装Tomcat
安装程序在\\192.168.71.252\共享资源\Tomcat 目录中,运行jakarta-tomcat-5.0.28.exe进行安装,安装过程中会提示你设置管理员的密码,最好设置一个,后面还要用到。
安装过程中还会提示你输入JVM的安装目录,选择刚才安装的JDK目录,如D:\j2sdk1.4.2_09。
3. 下载开发工具Eclipse。
将\\192.168.71.252\共享资源\二版开发 目录下的eclipse目录复制到你机器上,例如D盘根目录。
4. 配置测试应用服务器。
ü 运行eclipse\eclipse-3.1.0\ eclipse.exe启动eclipse,启动过程中会提示选择“Workspace”。
ü 选择“Window->Preferences”打开“Preferences”配置窗口,展开“MyEclipse->Application Servers”节点,单击“Tomcat5”节点。
ü 单击“Enable”选项启用Tomcat5作为测试应用服务器。
ü 单据“Tomcat Home Directory”输入框旁边的“Browse”按钮,选择刚才安装的Tomcat5的根目录,“Tomcat Base Directory”和“Tomcat Temp Directory”会自动设置。
ü 展开“Tomcat5”节点,单击“JDK”节点。
ü 单击“Tomcat JDK name”输入框旁边的“Add”按钮,弹出如下对话框:
在“JRE name”输入JRE的名字,“JRE home directory”选择JDK的安装目录。
ü 单击“Paths”节点
在中间的Append to Classpath输入框中添加service\insiis\WebRoot\WEB-INF\lib\ classes12.jar所在的路径。
5. 发布程序。
ü 单击工具栏上的 按钮,打开如下窗口:
ü “Project”选择“insiis”,单击“Add”按钮,选择“Server”为“Tomcat5”。
6. 配置连接池
ü 单击工具栏上 按钮的下拉箭头,选择Tomcat5->Start启动Tomcat。
ü 打开IE浏览器,输入地址:http://localhost:8080/admin,在登陆界面上输入管理员用户名和密码,用户名为“admin”,密码是在安装Tomcat5时设置的密码。登陆后的主界面如下:
ü 依次展开“Tomcat Server->Service(Catalina) ->Host(localhost) ->Context(/insiis) ->Resources”,单击DataSources节点。
ü 在“Data Source Actions”下拉列表中选择“Create New Data Source”,打开如下界面:
设置如下值:
JNDI Name:jdbc/mydatasource
Data Source URL:jdbc:oracle:thin:@192.168.70.20:1521:epsoft
JDBC Driver Class:oracle.jdbc.driver.OracleDriver
User Name:hasi
Password:hasi
其中Data Source URL、User Name、Password可根据数据库的实际情况进行修改。
ü 点击“Save”按钮。
ü 最后点击“Commit Changes”按钮。
ü 重新启动服务器。
7. 测试
运行客户端程序INSIIS.exe打开登陆界面,用户名/密码:admin/epsoft,点击“服务器参数”按钮进行参数设置,参数设置说明如下:
服务器地址:服务器IP,如果是本机的话也可以设置为127.0.0.1。
端口号:8080
资源位置:/insiis/MainServlet
注:访问192.168.71.252服务器的用户名/密码:publicer/epsoftpub
1. 安装Delphi7
安装源程序在\\192.168.71.252\共享资源\归档\Delphi7 ,运行setup.exe进行安装。安装好后运行Delphi,确保Delphi安装正确(Delphi的基本组件是否安装完全)。
2. 下载客户端源程序
将\\192.168.71.252\共享资源\二版开发\源程序下的INSIIS目录复制到你的机器上,例如放在D盘根目录下。
3. 安装第三方组件
l 安装DevExpress系列控件,安装源文件在\\192.168.71.252\共享资源\归档\DevExpress 目录中,按照“安装方法.txt”文件中的说明安装这套控件;
l 安装EPSiComponen(客户端源程序\Component\EPSiComponent\EPSiPackage.dpk),在Delphi的Environment Options中需要引入其路径。
4. 设置Delphi开发环境
l 打开Delphi菜单->Tools->Environment Options,选择Tab页Library,如下图:
l 配置Library path:中的路径,如下图:
配置结果包含如下路径:
$(DELPHI)\Source\Vcl
$(DELPHI)\Lib
$(DELPHI)\Bin
$(DELPHI)\Imports
$(DELPHI)\Projects\Bpl
$(DELPHI)\Rave5\Lib
C:\Program Files\Developer Express Inc\CX Library\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressBars\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressCommon\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressDataController\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressDBTree\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressEditors Library\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressEditors Library 5\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressExport Library\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressFlowChart\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressGDI+ Library\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressInplaceEditors\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressLayout Control\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressMasterView\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressMemData\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressNavBar\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressOrgChart\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressPageControl 2\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressPrinting System\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressQuantumGrid\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressQuantumGrid 5\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressQuantumTreeList 4\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressScheduler\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressSpreadSheet\Delphi 7\Sources
C:\Program Files\Developer Express Inc\ExpressVerticalGrid\Delphi 7\Sources
C:\Program Files\Developer Express Inc\XP Theme Manager\Delphi 7\Sources
D:\INSIIS\test_client\Component\EpSiComponent
说明:
l 以上路径是按系统默认安装的路径,$(DELPHI)=D:\Borland\Delphi7。
l D:\Borland\Delphi7\Source\Vcl放在最上面。
服务器端开发环境配置
1. 安装JDK 1_4_2_09
安装源程序在\\192.168.71.252\共享资源\Sun.JDK 目录中,运行j2sdk-1_4_2_09-windows-i586-p.exe进行安装,例如安装在D:\j2sdk1.4.2_09。
2. 安装Tomcat
安装程序在\\192.168.71.252\共享资源\Tomcat 目录中,运行jakarta-tomcat-5.0.28.exe进行安装,安装过程中会提示你设置管理员的密码,最好设置一个,后面还要用到。
安装过程中还会提示你输入JVM的安装目录,选择刚才安装的JDK目录,如D:\j2sdk1.4.2_09。
3. 下载开发工具Eclipse。
将\\192.168.71.252\共享资源\二版开发 目录下的eclipse目录复制到你机器上,例如D盘根目录。
4. 配置测试应用服务器。
ü 运行eclipse\eclipse-3.1.0\ eclipse.exe启动eclipse,启动过程中会提示选择“Workspace”。
ü 选择“Window->Preferences”打开“Preferences”配置窗口,展开“MyEclipse->Application Servers”节点,单击“Tomcat5”节点。
ü 单击“Enable”选项启用Tomcat5作为测试应用服务器。
ü 单据“Tomcat Home Directory”输入框旁边的“Browse”按钮,选择刚才安装的Tomcat5的根目录,“Tomcat Base Directory”和“Tomcat Temp Directory”会自动设置。
ü 展开“Tomcat5”节点,单击“JDK”节点。
ü 单击“Tomcat JDK name”输入框旁边的“Add”按钮,弹出如下对话框:
在“JRE name”输入JRE的名字,“JRE home directory”选择JDK的安装目录。
ü 单击“Paths”节点
在中间的Append to Classpath输入框中添加service\insiis\WebRoot\WEB-INF\lib\ classes12.jar所在的路径。
5. 发布程序。
ü 单击工具栏上的 按钮,打开如下窗口:
ü “Project”选择“insiis”,单击“Add”按钮,选择“Server”为“Tomcat5”。
6. 配置连接池
ü 单击工具栏上 按钮的下拉箭头,选择Tomcat5->Start启动Tomcat。
ü 打开IE浏览器,输入地址:http://localhost:8080/admin,在登陆界面上输入管理员用户名和密码,用户名为“admin”,密码是在安装Tomcat5时设置的密码。登陆后的主界面如下:
ü 依次展开“Tomcat Server->Service(Catalina) ->Host(localhost) ->Context(/insiis) ->Resources”,单击DataSources节点。
ü 在“Data Source Actions”下拉列表中选择“Create New Data Source”,打开如下界面:
设置如下值:
JNDI Name:jdbc/mydatasource
Data Source URL:jdbc:oracle:thin:@192.168.70.20:1521:epsoft
JDBC Driver Class:oracle.jdbc.driver.OracleDriver
User Name:hasi
Password:hasi
其中Data Source URL、User Name、Password可根据数据库的实际情况进行修改。
ü 点击“Save”按钮。
ü 最后点击“Commit Changes”按钮。
ü 重新启动服务器。
7. 测试
运行客户端程序INSIIS.exe打开登陆界面,用户名/密码:admin/epsoft,点击“服务器参数”按钮进行参数设置,参数设置说明如下:
服务器地址:服务器IP,如果是本机的话也可以设置为127.0.0.1。
端口号:8080
资源位置:/insiis/MainServlet
开发环境配置指南
开发环境配置指南
开发环境配置
VC6 Symbian开发环境配置
Eclipse 3.0 上配置JSP开发环境
Eclipse 3.0 上配置JSP开发环境
配置标准的J2EE开发环境
Eclipse 3.0 上配置JSP开发环境
jbpm学习的开发环境配置
flex 2开发环境简单配置
VC6 Symbian开发环境配置(完美版)
Windows下JSP开发环境的配置
eclipse wtk配置j2me开发环境
eclipse wtk配置j2me开发环境
eclipse wtk配置j2me开发环境
配置标准的J2EE开发环境--大风
Windows下JSP开发环境的配置
VC6.0中OpenGL开发环境配置
Windows Mobile开发环境搭建指南
Windows Mobile开发环境搭建指南
Windows Mobile开发环境搭建指南1
[开发环境配置]windows下php4+mysql4+apache2开发环境配置
Symbian C++ 开发环境配置[爱谁谁论坛]
Flex2.0beta1+winXP下开发环境配置与安装