Re: T5: scripting

2010-12-07 Thread Angelo C.
Please do, that will be of great help! Thanks. Werner Keil wrote: > > I got some great results from the Java 6 Scripting JSR with Groovy as its > implementation in a T5 app. > > We used it mainly for templating, but if you prefer simple scripting, that > would also work. > > I may add some si

Re: T5: scripting

2010-12-07 Thread Werner Keil
I got some great results from the Java 6 Scripting JSR with Groovy as its implementation in a T5 app. We used it mainly for templating, but if you prefer simple scripting, that would also work. I may add some simple snippets for those who wish to see. Werner On Fri, Dec 3, 2010 at 8:42 PM, Ange

Re: T5: scripting

2010-12-06 Thread Paul Stanton
groovy is for hippies ;) On 7/12/2010 12:45 PM, Angelo C. wrote: if that's the case, probably Groovy is for scripting and test code for now. Thiago H. de Paula Figueiredo wrote: On Mon, 06 Dec 2010 00:54:46 -0200, Angelo C. wrote: All the performance comparisons I've seen show Java performa

Re: T5: scripting

2010-12-06 Thread Angelo C.
if that's the case, probably Groovy is for scripting and test code for now. Thiago H. de Paula Figueiredo wrote: > > On Mon, 06 Dec 2010 00:54:46 -0200, Angelo C. > wrote: > > > All the performance comparisons I've seen show Java performance to be 10x > of the Groovy one. Being a dynamic

Re: T5: scripting

2010-12-06 Thread Thiago H. de Paula Figueiredo
On Mon, 06 Dec 2010 00:54:46 -0200, Angelo C. wrote: was thinking of trying out GRails, now with Groovy in T5, seems that's a good use. so far got some services and page class up and running already, not sure about any difference in performance, I presume they are more or less same as jav

Re: T5: scripting

2010-12-05 Thread Angelo C.
was thinking of trying out GRails, now with Groovy in T5, seems that's a good use. so far got some services and page class up and running already, not sure about any difference in performance, I presume they are more or less same as java classes, as they are compiled into .class first. Thiago H.

Re: T5: scripting

2010-12-05 Thread Thiago H. de Paula Figueiredo
On Sun, 05 Dec 2010 06:39:21 -0200, Angelo C. wrote: looks like not for T5, probably for an earlier version? Definetely for Tapestry 4 or earlier. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina

Re: T5:scripting

2010-12-05 Thread Angelo C.
gmaven works as long as the groovy code is under main/groovy, or main/groovy/page for page class, but the tml file is in the old location: main/webapp so far so good, it adds additional 3mb to the final jar file. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Re-T5

Re: T5:scripting

2010-12-05 Thread Angelo C.
Hello location: package learning the issue now is not t5 related, but maven related, any hints? did try to include follow, does not work: org.codehaus.groovy.maven gmaven-plugin 1.0 -- View this message in context: http://tapestry.1045711.n5.nabble.com/Re-T5-scripting-tp3292862p3292973

Re: T5:scripting

2010-12-05 Thread Wilson Ikeda
Oh, sorry it was something i spotted some time ago and didnt have time to look more close, but found Howards blog about it : http://tapestryjava.blogspot.com/2007/02/tapestry-5-and-groovy.html and looks like he is using groovy on t5 trunk integration tests : http://comments.gmane.org/gmane.com

Re: T5: scripting

2010-12-05 Thread Angelo C.
looks like not for T5, probably for an earlier version? Wilson Ikeda wrote: > > I believe that this is something that should be added to tapestry site (if > it's not already): Tapestry - Groovy integration > > http://groovestry.sourceforge.net/ > > -- View this message in context: http://

Re: T5: scripting

2010-12-04 Thread Wilson Ikeda
I believe that this is something that should be added to tapestry site (if it's not already): Tapestry - Groovy integration http://groovestry.sourceforge.net/ On Dec 5, 2010, at 8:59 AM, users-digest-h...@tapestry.apache.org wrote: > From: "Angelo C." > Date: December 4, 2010 12:12:15 AM GMT+0

Re: T5: scripting

2010-12-03 Thread Thiago H. de Paula Figueiredo
On Fri, 03 Dec 2010 13:12:15 -0200, Angelo C. wrote: Hi, Hi! I need some scripting functions in t5 app, what are the options available? looks like Groovy is easier, I have included the groovy-all-minimal into the app, but how to use it? looking for a sample usage, say just a service