Openbravo开发-安装篇(windows)Eclipse IDE

在openbravo根目录运行
1)ant setup (配置环境)
2)ant install.source(安装源代码到数据库)时间较长,不能有错误
3)Import into Eclipse IDE(导入项目到Eclipse)

Launch Eclipse.
After Eclipse has started go to Project menu and disable Build Automatically option there.
Now 4 projects need to be imported in the workspace (by menu File=>Import..., Existing Projects into Workspace). Here they are:
openbravo XXX\opensource\openbravo\erp\devel\main\
OpenbravoCore XXX\opensource\openbravo\erp\devel\main\src-core
OpenbravoTrl XXX\opensource\openbravo\erp\devel\main\src-trl
OpenbravoWAD XXX\opensource\openbravo\erp\devel\main\src-wad
Then open Servers view and create a new instance of Tomcat server:
Set :
in General Information
click on Open launch configuration
add the following line at the end of VM arguments
-Djava.awt.headless=true -Xms384M -Xmx512M -XX:MaxPermSize=256M
in Server options
check the Serve modules without publishing
in Timeouts
set start and stop timeouts to 120 seconds(必须设置超时120,否则运行不了)

4)导入配置文件
The next step is to set the standard preferences used in the development of Openbravo.
Download the preferences file:
For Openbravo 2.50: openbravo-eclipse-prefs.epf file.
Import workspace preferences clicking on File > Import, then select General > Preferences and click on Next button.

5)运行
Launch from Eclipse
Now start the Tomcat server by right-clicking on the server instance in the Servers view and choosing Start option in the popup menu. Wait until the server is started (can take up to 2 minutes) and visit http://localhost:8080/openbravo/ in your internet browser. If everything was configured and installed properly you will get to the Openbravo ERP log in page. Use these credentials to log in:
username - Openbravo
password - openbravo
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值