GithubHelp home page GithubHelp logo

gspandy / osgi-utils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cvgaviao/osgi-utils

1.0 1.0 0.0 51.3 MB

A set of eclipse features that wraps common bundles to be installed in Target Platform using P2.

Home Page: http://cvgaviao.github.com/osgi-utils/

osgi-utils's Introduction

#OSGi Utilities

##The Goal

Nowadays I'm working a lot with OSGi, more precisally with Equinox. And I'm using two tools to build my projects: Eclipse Tycho for manifes-first projects and Maven Bundle Plugin for pom-first projects.

It is not possible to build both types of project same time using Tycho. It must be done in two steps always.

So, to help me, I've decided to create one P2 Repository and concentrate there the most important bundles that I'm using, grouped by features, including those that are already OSGi and those that was OSGified (by maven-bundle-plugin).

This way all other projects can be setup using a Target Platform Definition file pointing to the P2 and I can only use Tycho for the entire building.

The P2 has two categories:

OSGi Utils, that contains utilities made by myself or that was based in somebody work;

Dependencies, that is basically a repackaging of already existent bundles or OSGified ones.

##Building the P2 Repository

This build will create a P2 repository at directory "OSGi-Utils/com.c4biz.osgiutils.p2/target/repository" that contains all features needed by EPF to be installed as plugins.

Using a OS terminal console

  1. Clone the repository

    git clone [email protected]:cvgaviao/OSGi-Utils.git

  2. Go to the OSGi-Utils parent directory and call the maven command

    cd OSGi-Utils/ mvn clean verify -P p2-all

Using Eclpse IDE Launcher

If you want you can import the projects into Eclipse and build them using the supplied launcher. You must ensure that you have installes the latest m2e plugin and its tycho add-on.

  1. Import the project using 'Existing Maven Projects'

  2. Go to 'Run Configurations' and select "OSGi Utilities - P2".

osgi-utils's People

Contributors

cvgaviao avatar

Stargazers

gspripple avatar

Watchers

gspripple avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.