Skip to content

INAETICS/node-wiring-c

Repository files navigation

Node Wiring Build Status

This branch contains a Celix-based implementation for the INAETICS wiring capabilities.

Building and execution instructions

  1. Be sure to have installed cmake,apr,apr-util,zlib,curl and jansson libraries
  2. Download, compile and install Celix (sources can be checked out from https://svn.apache.org/repos/asf/celix/trunk/. Building and configuring instructions are included.)
  3. Checkout the node-wiring-c source code: git clone https://github.com/INAETICS/node-wiring-c
  4. Create a build folder mkdir node-wiring-build && cd node-wiring-build
  5. Start cmake with either: cmake -DCELIX_DIR= .. or: ccmake .. -DCELIX_DIR= to configure the project via the interactive menu
  6. make all
  7. make deploy
  8. Terminal 1: cd deploy/wiring && rm -rf .cache && sh run.sh. (Celix Framework will be started, as well as wiring bundles)
  9. Terminal 2: cd deploy/wiring_2 && rm -rf .cache && sh run.sh. (Celix Framework will be started, as well as wiring bundles)
  10. Terminal 1: export (triggers the export of a service)
  11. Terminal 2: send (sends a message to the service in Terminal 1)