I am not sure if someone ever tested this... Documentation says to get groovy extensions working is that the extension must be in the same class path (class loader).
Maybe I am wrong but so fragment host (terrible name imho) is the only solution. Or shading a new jar could do the same trick. What do you think? Br Paul King <pa...@asert.com.au> schrieb am Mo., 10. Feb. 2025, 14:25: > In the following issue we were not certain of the need for > Fragment-Host in Groovy 4: > > https://issues.apache.org/jira/browse/GROOVY-9402 > > It could well be that it is needed. > > Cheers, Paul. > > On Mon, Feb 10, 2025 at 10:00 PM Matthias Leinweber > <m.leinwe...@datatactics.de> wrote: > > > > Hi together, > > > > I am using groovy alot in an osgi container with camel (currently > karaf.4.7.7 camel 4.9.1 and groovy 4.0.25) > > > > Somehow the dateutils overload for the date class seems not to work > anymore. In groovy 3.0.9 the bundle was a fragment host and working.... Do > I need to do something extra with groovy 4? > > > > Br Matthias >