Openbravo POS Bitrock Installers Developer Manual
Bitrock Installers - Developer Manual
This article will explain how to create installers of Openbravo POS for different platforms using Bitrock.
At the beginning Bitrock must be installed in the system. To do that download the latest version of Bitrock and install it.
Build installers using Ant
It is possible to build installers from a command line using Ant. Before that, a path to Bitrock in the file build.properties must be defined.
It's possible to build installers for the following environments:
- Linux x64
- Linux ia64
- OS X
- All installers mentioned above
The built installers can be found in the folder build/installer.
Creating installers using Bitrock's GUI
Download the installer.xml file and point to this file after pressing an icon Load Projects in Bitrock.
Afer Bitrock loads the file it should look like:
The next step requires to add all needed files to create an installer. At this moment you can create shortcuts that appear after installation.
In Linux environment the following files are NOT needed:
start.bat configure.bat lib/Windows/* lib/Mac_OS_X/* lib/Solaris/*
In Windows environment the following files are NOT needed:
start.sh configure.sh lib/Linux/* lib/Mac_OS_X/* lib/Solaris/*
In Mac OS environment the following files are NOT needed:
start.bat configure.bat lib/Windows/* lib/Linux/* lib/Solaris/*
In Solaris environment the following files are NOT needed:
start.bat configure.bat lib/Windows/* lib/Linux/* lib/Mac_OS_X/*
After all required files are added customization of an installer starts.
- Under the tab User Interface a user interface is created. Graphic can be added, chosen the destination folder and language.
- Under the tab Platform a user interface for a specific platform is specified.
The final step builds an installer. A user just choose a Build Platform and press the Build button.