List Info

Thread: Re: svn commit: r516239 - in /incubator/roller/trunk/sandbox/scripting/groovy: ./ bin/ bin/logs/ src




Re: svn commit: r516239 - in /incubator/roller/trunk/sandbox/scriptin g/groovy: ./ bin/ bin/logs/ src
country flaguser name
United States
2007-03-09 09:19:21
Dave:

Missed the proposal for this (probably my fault).

I would have suggested using BSF (Bean Scripting Framework 
http://jakarta.apache.
org/bsf/) so as to accommodate any of the languages 
that work with BSF (including Groovy and several others)

I'm not sure if that would work in this particular setting
or not.  Did you 
already consider this?

--a. 


Re: svn commit: r516239 - in /incubator/roller/trunk/sandbox/scriptin g/groovy: ./ bin/ bin/logs/ src
user name
2007-03-11 20:58:53
On 3/9/07, Anil Gangolli <anilbusybuddha.org> wrote:
> Missed the proposal for this (probably my fault).

I don't have a proposal for this scripting work yet -- I'm
trying to
figure out what to do. I'm doing the work in the sandbox so
that
others can see it and offer suggestions.


> I would have suggested using BSF (Bean Scripting
Framework
> http://jakarta.apache.
org/bsf/) so as to accommodate any of the languages
> that work with BSF (including Groovy and several
others)

Yes, BSF is a good way to support multiple scripting
languages and I
have now gotten BSF to work for Groovy and JavaScript, but
not JRuby
because it has a conflict with a Hibernate dependency
(Hibernate uses
an older ASM lib).


> I'm not sure if that would work in this particular
setting or not.  Did you
> already consider this?

BSF works fine for basic scripting needs, but doesn't allow
for
Groovlet and GSP style pages because they require that
special
Groovy-specific objects are put into context (i.e. the
"html"
MarkupBuilder). Check the README's in the groovy and bsf
directories
for sample examples.

- Dave

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )