Hi Thomas,
Le 27 août 2014 10:43, "Thomas Mortagne" a
écrit :
>
> And you really don't want to install those jars as extensions ?
>
What I'm not fond of, is that they would be added to the classloader
globally though their use will be very limited. Also those are not
currently available in a mav
And you really don't want to install those jars as extensions ?
The jars parameter of the script macro is not really nice for
performance as it create a new classloader and reload those jar each
time you execute the macro.
An alternative is to use Groovy @Grab feature, see
http://groovy.codehaus
On 16 Aug 2014 at 22:31:24, Jeremie BOUSQUET
(jeremie.bousq...@gmail.com(mailto:jeremie.bousq...@gmail.com)) wrote:
>
> Hi Vincent,
> Le 16 août 2014 21:42, "vinc...@massol.net(mailto:vinc...@massol.net)" a
> écrit :
> >
> >
> >
> >
> >
> > On 5 Aug 2014 at 15:48:27, Jeremie BOUSQUET
>
Hi Vincent,
Le 16 août 2014 21:42, "vinc...@massol.net" a écrit :
>
>
>
>
>
> On 5 Aug 2014 at 15:48:27, Jeremie BOUSQUET (jeremie.bousq...@gmail.com
(mailto:jeremie.bousq...@gmail.com)) wrote:
>
> > Hello XWiki Community,
> >
> > Got some issue with executing groovy in a page ...
> >
> > I have a
On 5 Aug 2014 at 15:48:27, Jeremie BOUSQUET
(jeremie.bousq...@gmail.com(mailto:jeremie.bousq...@gmail.com)) wrote:
> Hello XWiki Community,
>
> Got some issue with executing groovy in a page ...
>
> I have a page with a groovy class, that needs some jars dependencies.
> The following "wo
Hi,
I haven`t played with groovy in XWiki enough. My only suggestion is to
debug the problem by reducing it to a state that works (even an empty
groovy page) and then add stuff until it breaks to identify the cause.
Hope this helps,
Eduard
On Tue, Aug 5, 2014 at 4:37 PM, Jeremie BOUSQUET wrote
Hello XWiki Community,
Got some issue with executing groovy in a page ...
I have a page with a groovy class, that needs some jars dependencies.
The following "works":
{{groovy jars="attach:toto.jar,..."}}
import ...
public class MyClass {
...
}
def myobj = new MyClass()
// do something with m