Openbravo POS Bitrock Installers Developer Manual/it
Languages: |
English | Italiano | Translate this article... |
Contents |
Bitrock Installers - Manuale Sviluppatore
Panoramica
Questo articolo spiega come creare gli installers di Openbravo POS per diverse piattaforme usando Bitrock.
Design
Bitrock
At the beginning Bitrock must be installed in the system. To do that download the latest version of Bitrock and install it.
Compilare installers usando 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.
bitrock=<thepath>
for example:
bitrock=/home/openbravo/bitrock
It's possible to build installers for the following environments:
- Windows
ant installer.pos.windows
- Linux
ant installer.pos.linux
- Linux x64
ant installer.pos.linux-x64
- Linux ia64
ant installer.pos.linux-ia64
- OS X
ant installer.pos.osx
- Solaris-Intel
ant installer.pos.solaris-intel
- All installers mentioned above
ant installer.pos
The built installers can be found in the folder build/installer.
Creare installers usando la GUI di Bitrock
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.
Linux
In Linux environment the following files are NOT needed:
start.bat configure.bat lib/Windows/* lib/Mac_OS_X/* lib/Solaris/*
Windows
In Windows environment the following files are NOT needed:
start.sh configure.sh lib/Linux/* lib/Mac_OS_X/* lib/Solaris/*
Mac OS
In Mac OS environment the following files are NOT needed:
start.bat configure.bat lib/Windows/* lib/Linux/* lib/Solaris/*
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.