Giter Site home page Giter Site logo

osgi-bundle-creation's Introduction

OSGi Bundle creation

This repo provides you with CFML code that allows to build OSGi bundles. There are 2 ways to do it. Convert a regular local physical jar to an OSGi bundle or create a maven Project that extends an existing maven project that defines a regular jar. Look for "//////////////////////////// CUSTOMIZE BEGINNING /////////////////////////////" in both script to set your data.

Regular Jar to OSGi Bundle

This script simply takes a existing jar you have on your system and converts that jar to an OSGi bundle. In the file "jar2osgi.cfm" simply define the configuration for your jar and then copy that jar in a sub directory next to the file "jar2osgi.cfm".

Maven Jar to Maven OSGi Bundle

This is the prevered way to do it. Important to know, the script "mavenjar2osgi.cfm" does not create a jar directly, it creates a maven built script. That built script then can be executed with "mvn install" on command line to create the OSGi bundle locally or you do "mvn deploy" to publish it on central maven directly or your own maven repo.

"mavenjar2osgi.cfm" also creates all script necessary in the result page of the browser to publish that mvn script as a new repo to github. This is an example that was created that way https://github.com/lucee/osgi-bundle-aspectj

In addition you get in the browser output information, how you can use that bundle in your enviroment as a Maven dependency or as an OSGi bundle.

This is the prevered way to do it, because it is easy to improve and repeat to anybody in the world, as soon that github repo containg your maven script is published, everybody can improve it, update for a new version of the source jar for example.

osgi-bundle-creation's People

Contributors

michaeloffner 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.