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

Enyo Upgrade

Contents

Introduction

Openbravo Mobile ships an Enyo custom build, based on the bootplate distribution.

The bootplate contents is splitted in two parts:

The main idea is to ship as part of Openbravo Mobile (org.openbravo.client.mobile) the necessary code to run Enyo based applications, and leave the developer build tools in a separate repository (org.openbravo.client.mobile.dev)

System Requirements

The build tool is based on nodejs http://nodejs.org.

If using Ubuntu it can be installed from repositories:

 sudo apt-get install nodejs

Note that nodejs version should be >=0.6, if the installed version from repositories is lower, you will need to install it from sources.

Steps to upgrade Enyo

Example of the module folder structure

.
├── legal
├── lib
├── src
├── src-db
└── web
    └── org.openbravo.client.mobile
        ├── assets
        ├── build
        ├── enyo
        ├── index.html
        ├── lib
        └── source

Details of the web/org.openbravo.client.mobile folder

.
├── assets               # contains the list of asset files
├── build                # the build folder from the custom build
│   ├── enyo.css 
│   ├── enyo.js
│   ├── lib.css
│   └── lib.js
├── enyo                 # direct copy of the enyo folder from bootplate 
│   ├── enyo.js
│   ├── loader.js
│   └── source
├── index.html
├── lib                  # direct copy of the lib folder from bootplate
│   ├── layout
│   ├── notification
│   ├── onyx
│   └── vendor
└── source               # Application sources

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

This page has been accessed 3,083 times. This page was last modified on 18 March 2013, at 08:22. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.