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:

tom chiverton 25 June 2019 at 09:22

Seems to have broken this.javaSettings :

 

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

Brad Wood 26 November 2018 at 17:50

Is this ticket a duplicate?

Jan Jannek 26 November 2018 at 09:02

Great, thanks . Looking forward to this one!

Michael Offner 19 November 2018 at 20:14
Edited

see

Fixed

Details

Assignee

Reporter

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Fix versions

Affects versions

Priority

Created 18 December 2017 at 18:13
Updated 20 May 2021 at 10:01
Resolved 26 November 2018 at 09:00