Hello I want to write a java script macro which is able to load jars from an external currently not supported source (e.g. from a maven repository). Therefore I want to exchange the used class loader. Overriding the ScriptMacroParameters#getJars() method is not possible for me, because I only want to load the classes in view and not in edit mode.
My question: How is it possible to exchange the currently injected implementation of the interface org.xwiki.rendering.internal.macro.script.AttachmentClassLoaderFactory for my macro to exchange the used class loader or is there another recommended official way to ream my aim. Thank you very much for your help. Yours faithfully Roman Summer _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
