在非Eclipse中构建iDempiere

来自iDempiere zh
OSSSME(讨论 | 贡献)2018年12月10日 (一) 13:45的版本 (创建页面,内容为“<!-- breadcrumb --> <font size=-2> ⇐ Table of Contents | Creating Installers from Eclipse | Building iDempiere without Eclipse </fo...”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至:导航、搜索

⇐ Table of Contents | Creating Installers from Eclipse | Building iDempiere without Eclipse

不通过Eclipse,直接使用maven来构建iDempiere安装介质。

安装 maven

  • 安装Maven
apt-get install maven

克隆 iDempiere 代码

  • 克隆代码仓代码(建议另外克隆一个,不要使用开发代码仓)
cd $HOME/sources  # 如果你的代码仓为idempiere6.1的话
hg clone idempiere6.1 testheadless

创建项目

  • 进入代码仓
cd $HOME/sources/testheadless
  • 修改分支名称
# 例如想创建iDempiere6.1安装介质的话,切换至release-6.1分支
hg update release-6.1
  • 编译
mvn verify -U
  • After this step the uncompressed servers can be found at:
# linux 64 bit version
$HOME/sources/testheadless/org.idempiere.p2/target/products/org.adempiere.server.product/linux/gtk/x86_64

# windows 64 bit version
$HOME/sources/testheadless/org.idempiere.p2/target/products/org.adempiere.server.product/win32/win32/x86_64

You can compress those folders with your preferred compressor to use them as installers.

This tutorial is brought to you by Carlos Ruiz from GlobalQSS. Feel free to improve directly or suggest using the Discussion tab.

Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。