Difference between revisions of "Building iDempiere without Eclipse"

From iDempiere en
(New version)
(Release 13 Orion)
 
(6 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
</font>
 
</font>
  
−
It is possible to build iDempiere without Eclipse, using [https://maven.apache.org maven].
+
It is possible to build iDempiere without Eclipse, you just need the openjdk-17-jdk.
−
 
 
−
==Install maven==
 
−
 
 
−
* Install the prerequisite Maven
 
−
apt-get install maven
 
  
 
==Clone iDempiere code==
 
==Clone iDempiere code==
Line 27: Line 22:
 
* Position in the branch you want to compile
 
* Position in the branch you want to compile
 
  # if building development (master) branch
 
  # if building development (master) branch
−
  git checkout master
+
  git switch master
 
   
 
   
−
  # if building release 9 branch
+
  # if building release 13 branch
−
  git checkout release-9
+
  git switch release-13
  
 
* Build
 
* Build
−
  mvn verify -U
+
  ./mvnw verify
  
 
* After this step the uncompressed servers can be found at:
 
* After this step the uncompressed servers can be found at:
Line 46: Line 41:
 
''This tutorial is brought to you by [[User:CarlosRuiz|Carlos Ruiz]] from [https://www.bx-service.com/ BX Service GmbH].  Feel free to improve directly or suggest using the Discussion tab.
 
''This tutorial is brought to you by [[User:CarlosRuiz|Carlos Ruiz]] from [https://www.bx-service.com/ BX Service GmbH].  Feel free to improve directly or suggest using the Discussion tab.
  
−
 
+
[[Category:HowTo]]
 
[[Category:User Manual|I]]
 
[[Category:User Manual|I]]
 
[[Category:Installation|E]]  
 
[[Category:Installation|E]]  

Latest revision as of 21:38, 9 March 2026

⇐ Table of Contents | Running iDempiere within Eclipse | Building iDempiere without Eclipse

It is possible to build iDempiere without Eclipse, you just need the openjdk-17-jdk.

Clone iDempiere code

  • Clone the repository you downloaded on Download the Code step (you can also use your actual installation, but I prefer to clone it to avoid mixing environments)
cd $HOME/sources  # Or use the folder where you downloaded the idempiere project
git clone idempiere testheadless

Materialize and build the project

  • Navigate to the folder
cd $HOME/sources/testheadless
  • Position in the branch you want to compile
# if building development (master) branch
git switch master

# if building release 13 branch
git switch release-13
  • Build
./mvnw verify
  • 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 BX Service GmbH. Feel free to improve directly or suggest using the Discussion tab.

⇐ Table of Contents | Running iDempiere within Eclipse | Building iDempiere without Eclipse

Cookies help us deliver our services. By using our services, you agree to our use of cookies.