View source | Discuss this page | Page history | Printable version   

Openbravo POS Bitrock Installers Developer Manual

Contents

Bitrock Installers - Developer Manual

Overview

This article will explain how to create installers of Openbravo POS for different platforms using 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.


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.

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.

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:

Bitrock - Product Details

The next step requires to add all needed files to create an installer. At this moment you can create shortcuts that appear after installation.

Bitrock - Files


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.

Bitrock - Customization
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.

Bitrock - Packaging

Retrieved from "http://wiki.openbravo.com/wiki/Openbravo_POS_Bitrock_Installers_Developer_Manual"

This page has been accessed 29,251 times. This page was last modified on 24 October 2009, at 15:18. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.