Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-14 Thread Summer, Roman
installing them locally. -Ursprüngliche Nachricht- Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Thomas Mortagne Gesendet: Mittwoch, 9. Juli 2014 15:02 An: XWiki Users Betreff: Re: [xwiki-users] exchanging the ScriptMacro ClassLoader Installing those extensions instead

Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-14 Thread Thomas Mortagne
to it? -Ursprüngliche Nachricht- Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Thomas Mortagne Gesendet: Mittwoch, 9. Juli 2014 18:34 An: XWiki Users Betreff: Re: [xwiki-users] exchanging the ScriptMacro ClassLoader I was not talking about WEB-INF\lib but installing them

Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-14 Thread Summer, Roman
. Juli 2014 10:12 An: XWiki Users Betreff: Re: [xwiki-users] exchanging the ScriptMacro ClassLoader Simply by installing those extensions, see http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Manager+Application On Mon, Jul 14, 2014 at 9:43 AM, Summer, Roman roman.sum...@de-gmbh.com

Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-14 Thread Thomas Mortagne
...@xwiki.org] Im Auftrag von Thomas Mortagne Gesendet: Montag, 14. Juli 2014 10:12 An: XWiki Users Betreff: Re: [xwiki-users] exchanging the ScriptMacro ClassLoader Simply by installing those extensions, see http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Manager+Application On Mon

Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-09 Thread Summer, Roman
Users Betreff: Re: [xwiki-users] exchanging the ScriptMacro ClassLoader On Tue, Jul 8, 2014 at 1:35 PM, Summer, Roman roman.sum...@de-gmbh.com wrote: Hi, while I tried to implement the org.xwiki.classloader.ExtendedURLStreamHandler in the described way I recognized some problems

Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-09 Thread Thomas Mortagne
help me? Roman -Ursprüngliche Nachricht- Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Thomas Mortagne Gesendet: Dienstag, 8. Juli 2014 16:02 An: XWiki Users Betreff: Re: [xwiki-users] exchanging the ScriptMacro ClassLoader On Tue, Jul 8, 2014 at 1:35 PM, Summer

Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-09 Thread Summer, Roman
...@xwiki.org] Im Auftrag von Thomas Mortagne Gesendet: Mittwoch, 9. Juli 2014 15:02 An: XWiki Users Betreff: Re: [xwiki-users] exchanging the ScriptMacro ClassLoader Installing those extensions instead of passing them in the macro is not an option ? On Wed, Jul 9, 2014 at 2:39 PM, Summer, Roman

Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-09 Thread Thomas Mortagne
. -Ursprüngliche Nachricht- Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Thomas Mortagne Gesendet: Mittwoch, 9. Juli 2014 15:02 An: XWiki Users Betreff: Re: [xwiki-users] exchanging the ScriptMacro ClassLoader Installing those extensions instead of passing them

Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-08 Thread Summer, Roman
:30 An: Summer, Roman; XWiki Users Betreff: Re: [xwiki-users] exchanging the ScriptMacro ClassLoader Hi Roman, On 4 Jul 2014 at 13:11:23, Summer, Roman (roman.sum...@de-gmbh.com(mailto:roman.sum...@de-gmbh.com))mailto:roman.sum...@de-gmbh.com(mailto:roman.sum...@de-gmbh.com)) wrote: Hello I

Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-08 Thread Thomas Mortagne
14:30 An: Summer, Roman; XWiki Users Betreff: Re: [xwiki-users] exchanging the ScriptMacro ClassLoader Hi Roman, On 4 Jul 2014 at 13:11:23, Summer, Roman (roman.sum...@de-gmbh.com(mailto:roman.sum...@de-gmbh.com))mailto:roman.sum...@de-gmbh.com(mailto:roman.sum...@de-gmbh.com)) wrote

[xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-04 Thread Summer, Roman
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

Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-04 Thread Thomas Mortagne
Actually the right way would be to extend standard URL Java system. AttachmentClassLoaderFactory is not a very good name for something which is a lot more generic than just attachments, it also support any URL. So what is actually needed here is to provide a protocol handler, that's basically

Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-04 Thread vinc...@massol.net
Hi Roman, On 4 Jul 2014 at 13:11:23, Summer, Roman (roman.sum...@de-gmbh.com(mailto:roman.sum...@de-gmbh.com)) wrote: Hello I want to write a java script macro I had to read this 3 times to understand it ;) (I kept thinking about javascript macro”). which is able to load jars from an