- 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.
- 云化虛擬現(xiàn)實(shí)技術(shù)與應(yīng)用
- Wordpress 3 Complete
- 斯科特·凱爾比的零基礎(chǔ)攝影后期課 Lightroom數(shù)碼照片調(diào)修技法
- Lighttpd
- BlackBerry Enterprise Server 5 Implementation Guide
- AutoCAD 2017從新手到高手
- Excel公式、函數(shù)與圖表案例實(shí)戰(zhàn)從入門(mén)到精通(視頻自學(xué)版)
- SOA Patterns with BizTalk Server 2009
- Building Websites with PHP/Nuke
- Puppet權(quán)威指南
- CakePHP Application Development
- 剪映短視頻剪輯從入門(mén)到精通:宣傳短片+電商視頻+產(chǎn)品廣告+活動(dòng)慶典
- Instant Markdown
- 平面設(shè)計(jì)師實(shí)戰(zhàn)教程
- Creo 4.0中文版基礎(chǔ)教程