- ADempiere 3.6 Cookbook
- Ajit Kumar
- 471字
- 2021-04-09 21:40:50
The recipe describes the steps involved in building the ADempiere source code and creating an installer out of it, which is ready for you to install on your own system or any other system. These installer images are installable on MS Windows as well as Linux systems.
This is the basic recipe and a pre-requisite for any other recipe mentioned in this book.
- Check out the ADempiere code from the following SVN URL:
https://adempiere.svn.sourceforge.net/svnroot/adempiere/tags/adempiere360lts.
- Say, we have checked out the ADempiere code in the C:\adempiere_svn\ tags\adempiere360lts folder. We'll refer to the C:\adempiere_svn folder by name, say, ADEMPIERE_SVN
- Start Eclipse.
- Click on File menu and select Import...
- Select the Existing Projects into Workspace option under the General category and click on the Next button. Dialog with the title Import Projects appears with the Select root directory radio button.
- Click on the Browse button next to the Select root directory radio button and select the
adempiere360lts
folder under the<ADEMPIERE_SVN>\tags
folder. This will addadempiere_360
to the Projects list. - Click on the Finish button. This will import the project
adempiere_360
into your Eclipse Workspace and build it, if the Build Automatically option is set in your Eclipse. If not, build the project. - Expand the
adempiere_360
project in Eclipse. You will see the utils_dev folder. - Expand the utils_dev folder and you will find build.xml. This is the Ant build script to compile the ADempiere source code and create the installable binaries.
- Right click on build.xml and select Run As | Ant Build. This will start the build process.

The following message appears in the console at the end of the build:

A successful build will create the adempiere folder under the project folder and the following binary installers are created, which can be used to install ADempiere on MS Windows or Linux:
Adempiere_360LTS.zip
Adempiere_360LTS.tar.gz

In step 1, we first get the ADempiere code from its SVN repository. In steps 2 through to 6, we compile the code. In steps 7 through to 9, we create the distributions (Linux as well as MS Windows) by running the default Ant target inside the build.xml
file, present under the utils_dev
folder
In this recipe, we saw how we can use the Ant build file build.xml
to compile the code and create the installation packages (.zip
and .tar.gz
files). The same can be achieved by running a batch file.
- ModelSim電子系統(tǒng)分析及仿真(第3版)
- Microsoft Visual C++ Windows Applications by Example
- VR、AR與MR項(xiàng)目開(kāi)發(fā)實(shí)戰(zhàn)
- Word-Excel-PowerPoint 2010三合一從新手到高手(超值版)
- IBM Lotus Notes 8.5 User Guide: LITE
- 從零開(kāi)始:Photoshop CC 2019中文版基礎(chǔ)教程
- UI 設(shè)計(jì)入門(mén)一本就夠
- 好的PPT會(huì)說(shuō)話:如何打造完美幻燈片
- Adobe創(chuàng)意大學(xué)After Effects產(chǎn)品專(zhuān)家認(rèn)證標(biāo)準(zhǔn)教材(CS6修訂版)
- 攝影輕松入門(mén):Photoshop后期處理
- Apache Maven 3 Cookbook
- Oracle Warehouse Builder 11g: Getting Started
- AutoCAD 2016中文版基礎(chǔ)教程(全圖解視頻版)
- Photoshop CC 2019 平面設(shè)計(jì)實(shí)例教程
- 無(wú)師自通AutoCAD 2014中文版機(jī)械設(shè)計(jì)