Creating Installers from Eclipse

From iDempiere en
Jump to: navigation, search

Table of Contents | Running iDempiere within Eclipse | Creating Installers from Eclipse | Building iDempiere without Eclipse

Please note this step is only necessary if you plan to create a release for iDempiere, or distribute installers based on your repository.

Creating Server installer

  • Open Eclipse
  • Right click on org.adempiere.server-feature
  • Navigate to Buckminster > Invoke Action...
  • In the popup dialog select the action create.product.zip
  • Fill the "Properties file" field by using the "Workspace" button to navigate to the properties file in $IDEMPIERE_REPOSITORY/org.adempiere.server-feature that describes your target operating system and architecture:
    • buckminster_linux_gtk_x86_64.properties: installer for 64-bit Linux
    • buckminster_linux_gtk_x86.properties: installer for 32-bit Linux
    • buckminster_macosx_x86.properties: installer for MAC OS
    • buckminster_win32_x86.properties: installer for 32-bit Windows
    • if your operating system / architecture is not listed create one by copying one of the files above and editing its contents
  • Click on "OK" and Buckminster will compile the project using the file "buckminster.cspex"
  • The new installer file will be $HOME/buckminster.output/org.adempiere.server_5.1.0-eclipse.feature/idempiereServer.gtk.linux.x86_64.zip (or the corresponding name for your OS and architecture)

Creating Swing client installer

  • Open Eclipse
  • Right click on org.adempiere.ui.swing-feature
  • Navigate to Buckminster > Invoke Action...
  • In the popup dialog select the action create.product.zip
  • Fill the "Properties file" field by using the "Workspace" button to navigate to the properties file in $IDEMPIERE_REPOSITORY/org.adempiere.ui.swing-feature that describes your target operating system and architecture:
    • buckminster_linux_gtk_x86_64.properties: installer for 64-bit Linux
    • buckminster_linux_gtk_x86.properties: installer for 32-bit Linux
    • buckminster_macosx_x86.properties: installer for MAC OS
    • buckminster_win32_x86.properties: installer for 32-bit Windows
    • if your operating system / architecture is not listed create one by copying one of the files above and editing its contents
  • Click on "OK" and Buckminster will compile the project using the file "buckminster.cspex"
  • The new installer file will be $HOME/buckminster.output/org.adempiere.ui.swing_5.1.0-eclipse.feature/idempiereClient.gtk.linux.x86_64.zip (or the corresponding name for your OS and architecture)

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