this.javasettings - support OSGi bundles

Description

It would be great if the paths specified in this.javasettings could also deal with OSGi bundles to allow adding bundles from an application and not only by placing them in the server's bundles directory.

Example:

  1. Download GSON jar from https://mvnrepository.com/artifact/com.google.code.gson/gson/2.8.2 and put it in a local folder

  2. Add that local folder to this.javasettings.loadPaths array

  3. use createObject( "java", "com.google.gson.Gson", "com.google.code.gson-gson", "2.8.2" ) in code.

Activity

Show:
Michael Offner
November 19, 2018, 8:14 PM
Edited

see

Michael Offner
November 26, 2018, 8:59 AM
Jan Jannek
November 26, 2018, 9:02 AM

Great, thanks . Looking forward to this one!

Brad Wood
November 26, 2018, 5:50 PM

Is this ticket a duplicate?

tom chiverton
June 25, 2019, 9:22 AM

Seems to have broken this.javaSettings :

 

Shouldn’t auto-loading OSGI be opt-in ?

Fixed

Assignee

Michael Offner

Reporter

Jan Jannek

Labels

Sprint

None

Fix versions

Affects versions

Priority

Critical
Configure