Hi Vincent,
Velocity Uberspector: Ah, makes sense. For some reason I thought it
was groovy that was being restricted; sorry.
Groovy path:
The add-ons need to go into the same directory as groovy's api's are
held*, so that it can be loaded. I'm still new to Groovy though, so I
might not be reading the docs right, hopefully there is no need to
recompile sources to get access to the added functionality.
* this is according to documentation on codehaus's main website.
________________________________
From: Vincent Massol [mailto:vincent@massol.net]
Sent: 22 March 2007 13:46
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Adding Groovy add-ons..
Hi Brandon,
On Mar 22, 2007, at 2:34 PM, Esbach, Brandon wrote:
Hi folks,
Looking at applying some of the add-ons to Groovy to allow some
extra functionality (most likely starting with Scriptom/JACob). I have
some questions though:
1) As I understand it, there are some tightened security changes
for XWikiBeta5 and above (not running in our test environment yet).
How will this affect Xwiki going forward (eg, will this be restricted in
some way from xwiki in future)?
You're probably talking about the Velocity Uberspector. This is related
to not allow instantiating classes from Groovy. It's a configuration
that you can turn off if you want (not recommended)
2) Where is the standard Groovy library path for xwiki (doesn't
seem to be any groovy folders under the xwiki application)?
What is the groovy library path? Isn't that using classloaders?
Thanks
-Vincent