Skip to content

joerg-wille/OSGiAOT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSGiAOT

POC for OSGi Connect Native Builds.

   

Content

  1. ./greeting
    A simple OSGi application using Declarative Services.

Prerequisites

  1. Install GraalVM CE Java 11 and Native Image gu install native-image
  2. Clone Atomos to local directory and install
    cd [local directory]
    ./mvnw clean install -Psubstrate

Build

  1. Clone OSGiAOT to local directory
  2. cd [local directory]
  3. Build ./mvnw clean package

Run Java App

  1. Run greeting uber-jar
    java -jar ./greeting/greeting.launch/target/run.jar
  2. Test by entering hello [name] and hallo [name]

Run Native App

  1. Run greeting uber-jar
    ./greeting/greeting.native/target/native_image_build/[random]/bin/greeting-native
  2. Test by entering hello [name] and hallo [name]

About

POC for OSGi Connect Native Builds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages