Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Wp 6 webinos standalone #9

wants to merge 17 commits into


None yet
2 participants

habibvirji commented Apr 30, 2012

Jira issue: WP-6

Changes to make webinos as a standalone application. it compiles node as a static library and other native modules and creates a single executable. To get this working:

  1. Clone the WP-6-Webinos-Standalone
  2. ./configure (in Webinos-Platform directory)
  3. make
  4. sudo make install (considering if you have all node modules already it will work fine, if not it tries to download but due to unixlib it fails to rest of the modules)
  5. webinos_pzh (to start pzh)
  6. webinos_pzp (to start pzp)
  7. It copies all files to /usr/local/lib and also generates webinos.js using closure compiler
  8. As during experimentation I have changed filenames and now all manager modules start with webinos_.
  9. It requires node to built as static library, requires using following patch: habibvirji/node@cf32ef2
  10. demo folder has been moved to webinos/test folder

dblomme commented May 2, 2012

ALL commits have to reference the jira issue! Can you use git rebase to rewrite the commit messages?

habibvirji and others added some commits Apr 12, 2012

First version of webinos standalone application.
It creates webinos application and include webinos components along. it solves dependency issue of linking in different webinos modules. Known issues are node_root and curr_dir manually set in webinos.gyp

Jira issue: WP-6
Updated dependencies to be included as a part of build process
Modified api files to begin with webinos to prevent name clashes with node modules
Updated code to include proper modules

- Authentication module does not work due to authEnvironment variable of schema seems to be undefined
- Context module needs to change its loading with new structure
- OAuth has internal node module included need to see what's needed
- Contact has a strange error of some module is missing. localcontacts is getting loaded it is tested

Jira issue: WP-6
Changes to get pzh farm working.
pzh internal apis for pzh to pzh connection will not work .. Another try to get node dircetory checked in

Jira issue: WP-6
PZH and PZP separate building possible. All API's are working now. On…
…ly context has issue with the JSON and DB strucutre it stores.

Jira issue: WP-6
Changed mechanism not converting javascript to c as it would require …
…all third party js to be also included

Jira issue: WP-6
Node now building as static library when option staticlib used.
- Still to resolve how to read node path
- Javascript files being read will use webinos module written by Felix

Jira issue: WP-6
Following functionalities has been updated:
1. Updated javascript to include webinos module
2. included build.xml to generate webinos.js in tools directory
3. Demo moved to test folder
4. deleted deps folder
5. npm install after make file is done

Issue remaining is only how to load node modules

Jira issue: WP-6
make install now working.
to build webinos use:
sudo make install

all contents are copied to /usr/local directory

Following modules doesn not seem to have native modules loading.
Policy manager, bluetooth, device status,  context and contact

Jira issue: WP-6
webinos command added that includes native code and other modificatio…
…n to get demo working again

Jira issue: WP-6
Updated webinos.gyp to include flag fPIC and std=gnu++0x, it is requi…
…red to compile latest bluetooth library

Jira issue: WP-6

dblomme commented May 11, 2012

This is the one can be closed if I'm not mistaken

@dblomme dblomme closed this May 11, 2012


habibvirji commented May 11, 2012

Yes this can be Closed

On Fri, May 11, 2012 at 2:03 PM, Dieter Blomme <


This is the one can be closed if I'm not mistaken

Reply to this email directly or view it on GitHub:
#9 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment