读书人

ofbiz学习手札一

发布时间: 2012-09-17 12:06:51 作者: rapoo

ofbiz学习手札1
1.Eclipse里建立project。把下载的ofbiz10.04import进来。

2.用外部db。postgreSQL。在postgreSQL里建立ofbiz数据库。和登录id
ofbiz,密码ofbiz。

3.把postgresql-9.0-801.jdbc4.jar复制到/ofbizbase/framework/entity/lib/jdbc

4.编辑/ofbizbase/framework/entity/config/entityengine.xml
把 <delegator name="default" 的 <group-map group-name="org.ofbiz" datasource-name="localpostgres"/>设置成postgres用的。
<datasource name="localpostgres" 的属性编辑成postgres的连接串。
。。。。。
jdbc-uri="jdbc:postgresql://localhost:5432/ofbiz"
jdbc-username="ofbiz"
jdbc-password="ofbiz"
5.在ofbiz根目录下运行ant run-install。自动在postgreSQL里创建表。

6.运行ant run启动内嵌tomcat服务。

7.http://localhost:8080/ecommerce/ 运行网店,http://localhost:8080/myportal运行后台erp。

1 楼 semmy 2011-07-04 下载了个opentaps 1.5 怎样在Eclipse里跑起来,我看opentaps目录下有了.project的文件,直接导入,打开好多源码文件目录,有没有办法分解成多个工程?

读书人网 >软件架构设计

热点推荐