Giter Site home page Giter Site logo

osgi.enroute.examples.eval's Introduction

OSGi

OpenSSF Scorecard

This is the main git repository for the OSGi specifications, implementations and TCKs. It is a Bnd Workspace model build.

Build

See CONTRIBUTING for information on checking out the repo and building.

Draft Specifications

The GitHub Actions build "GitHub Pages" job will publish the draft specifications into the repo's gh-pages branch. So you can view the draft specifications for the osgi/osgi repo:

In your fork, just add core/ or cmpn/ to the end of your fork's GitHub Pages URL. For example:

https://<username>.github.io/osgi/core/

More Information

For more information see the OSGi Specification Project pages at Eclipse: https://projects.eclipse.org/projects/technology.osgi

osgi.enroute.examples.eval's People

Contributors

bjhargrave avatar daghanacay avatar pkriens avatar wsargent avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

osgi.enroute.examples.eval's Issues

Unable to run the osgi.enroute.examples.eval example

Once compiled the user should be able to run the example. With the following command the framework actually starts but the gogo shell prompt do not appear (we are in the bndrun directory):

$> java -jar osgi.enroute.examples.eval.jar

It is not clear why it happens ...

After importing the projects in eclipse and running the bndrun file it seems that probably the issue is related to this error:

Exception in thread "OSGi enRoute Gogo Shell" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path] at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182) at org.fusesource.hawtjni.runtime.Library.load(Library.java:140) at org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:42) at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48) at org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38) at jline.AnsiWindowsTerminal.detectAnsiSupport(AnsiWindowsTerminal.java:57) at jline.AnsiWindowsTerminal.<init>(AnsiWindowsTerminal.java:27) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at jline.TerminalFactory.getFlavor(TerminalFactory.java:211) at jline.TerminalFactory.create(TerminalFactory.java:102) at jline.TerminalFactory.get(TerminalFactory.java:186) at jline.TerminalFactory.get(TerminalFactory.java:192) at osgi.enroute.gogo.shell.provider.Shell$1.run(Shell.java:153) at java.lang.Thread.run(Unknown Source)

Unable to build the osgi.enroute.examples.eval example

A couple of pom.xml refer to unexistent dependences versions. In particular:

bnd-export-maven-plugin, version 3.4.0-SNAPSHOT
bnd-testing-maven-plugin, version 3.4.0-SNAPSHOT.

The current available version of this plugins is now the stable verison (that is 3.4.0), so the two pom.xml should be updated.

I guess in the tutorial too.

Minor path error in Web application section of Maven ONLY tutorial

Hello,
I've been recently doing "A Maven ONLY Tutorial for an Eval Service" and found a minor path issue in the scenario available in the Web Application chapter (http://enroute.osgi.org/tutorial_eval/450-web). It seems that folder htm is swapped with main for both code samples in the section The Views (main/htm) while in all other parts of the document it is htm/main. Github sources use the first version.

I hope I helped a little :)
KG

Fails to build a working jar at current version

Hello,

Recently some things changed (in the bnd-export-maven-plugin I believe, but I am not sure) which first caused lots of warnings to appear, like this:

[WARNING] Warning : Snapshot and/or buildnumber not set aQute.maven.provider.MetadataParser$Snapshot@40fb8c86 in org.osgi:osgi.enroute.examples.eval:1.0.0-SNAPSHOT
[WARNING] Warning : Snapshot and/or buildnumber not set aQute.maven.provider.MetadataParser$Snapshot@3ddd547 in org.osgi:osgi.enroute.examples.eval.parsii.provider:1.0.0-SNAPSHOT
[WARNING] Warning : Snapshot and/or buildnumber not set aQute.maven.provider.MetadataParser$Snapshot@14488bdf in org.osgi:osgi.enroute.examples.eval.test:1.0.0-SNAPSHOT
[WARNING] Warning : Snapshot and/or buildnumber not set aQute.maven.provider.MetadataParser$Snapshot@9455b55 in org.osgi:osgi.enroute.examples.eval.api:1.0.0-SNAPSHOT

As of today, it appears to build successfully, but when trying to run the jar you get this error message:

Exception in thread "main" java.lang.NoClassDefFoundError: aQute/lib/io/IO
	at aQute.launcher.pre.EmbeddedLauncher.toFileURL(EmbeddedLauncher.java:56)
	at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:36)
Caused by: java.lang.ClassNotFoundException: aQute.lib.io.IO
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 2 more

I notice aQute.lib.io.IO in the bnd project was latest modified today.

This might more correctly be an issue on the bnd or enroute projects, but I'm not confident enough to say, all I know is this project doesn't build.

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.