Mailing Lists (Last 24 Hours)

Powered By Nabble

groovy - Tim Yates - 5 hours 50 minutes ago
Because you don't specify a parameter for your closure here:String.metaClass.toSomething = { println it } It is adding two methods to the metaClass.�� One with no parameter, and one with the defau...
groovy - A_Grails_User - 6 hours 37 minutes ago
Hi there, I played around with the metaprogramming possibilities of Groovy and I have the following code... println String.metaClass.methods.size() String.metaClass.toSomething = { println it } printl...
groovy - Antti Karanta - 7 hours 23 minutes ago
> -----Original Message----- > From: UEHARA Junji [mailto:junji.uehara@...] > > Generally, it depends on environment, the advantage of > GroovyServ is bigger in MacOS/Linux environment...
groovy - Alex Tkachman - 7 hours 38 minutes ago
I am not sure we have it. FileSystemCompiler is what really does compilation under the hood of groovyc On Fri, Mar 12, 2010 at 12:49 AM, Victor Grazi <vgrazi@...> wrote: > That worked nicely....
groovy - Tim Yates - 8 hours 2 minutes ago
You have to do it the old fashioned java wayint timeout = 1000 * 5 // 5 secondsdef url = new URL("http://www.aboutgroovy.com") URLConnection conn = url.openConnection() conn.setConnectTimeo...
groovy - Chris Broadfoot - 8 hours 24 minutes ago
This might help:http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLConnection.html#setConnectTimeout%28int%29 also see #setReadTimeoutURL#openConnection() is actually just a Java method, not Groovy s...
groovy - Dean Del Ponte-2 - 12 hours 11 minutes ago
How can I open a url connection and supply a timeout?def url = new URL("http://www.aboutgroovy.com")��def connection = url.openConnection() Is it possible to do this in Groovy?- Dean Del Pon...
groovy - citron - 14 hours 36 minutes ago
hmm, there are still some problems, its not closing the connection to the client for some reason. Client is just hanging.how can I fix this problem?Thanks! server = new ServerSocket(8104)&nb...
groovy - citron - 15 hours 10 minutes ago
This is now working, but how can I print the input/output streams or transform them into strings? server = new ServerSocket(8890) while(true) {     server.accept() {...
groovy - Victor Grazi - 15 hours 34 minutes ago
That worked nicely.I am not finding a lot of documentation on this class. Are you able to point me to anything?Thanks, VictorOn Thu, Mar 11, 2010 at 2:29 AM, Alex Tkachman <alex.tkachman@...> wr...
groovy - Tim Yates - 15 hours 57 minutes ago
think line 3 should bedef r = msgBody.'**'.find { it.name().equalsIgnoreCase("Txn")����} TimOn Thu, Mar 11, 2010 at 10:03 PM, Gordon Ross <gr306@...> wrote: I'm trying to...
groovy - Gordon Ross-8 - 16 hours 20 minutes ago
I'm trying to use the find() method of GPathResult, but I'm not finding anything. I can't seem to find any good documentation on how to use the find method call. Below is what I'm trying to do. Can so...
groovy - citron - 17 hours 31 minutes ago
And if I would like to create a http proxy, just like tcpmon , how to forward the request if the server looks something like this?I would like to grab the input/output, but its just returning an ...
groovy - Tim Yates - 18 hours 11 minutes ago
Posting the form on http://www.snee.com/xml/crud/posttest.html with the http-builder package would look something like this:@Grab( 'org.codehaus.groovy.modules.http-builder:http-builder:0.5.0-RC2&...
groovy - Andres Almiray - 18 hours 40 minutes ago
setClosure() is a method on your node class (I named it yyy) Skeptic . wrote: Thanks for help, Where does setClosure method comes from? I tought you were talking about delaying the execution of the ...
groovy - Skeptic . - 18 hours 49 minutes ago
Thanks for help,Where does setClosure method comes from? I tought you were talking about delaying the execution of the trailing closure, but I guess that wouldn't be possible.> Date:...
groovy - Rick R-2 - 19 hours 32 minutes ago
On Thu, Mar 11, 2010 at 11:27 AM, Ronny L��vtangen <lists@...> wrote: > Are you on Java 1.5? I think those dependencies are not needed on Java 6, as they are implemented in the JDK. Using Jav...
groovy - citron - 20 hours 59 minutes ago
wow!How to post any contents to the page before read it?From: tim.yates@...Date: Thu, 11 Mar 2010 16:05:25 +0000To: user@...Subject: Re: [groovy-user] HTTP Post/Getnew URL( "http://www.google.com...
groovy - Ronny L��vtangen-2 - 21 hours 56 minutes ago
Are you on Java 1.5? I think those dependencies are not needed on Java 6, as they are implemented in the JDK. On Mar 11, 2010, at 5:02 PM, Rick R wrote: > I got it working going back to use the mai...
groovy - Uri Moszkowicz - 21 hours 59 minutes ago
Hi Uehara,As I mentioned before, on my desktop Groovy takes 18sec to load so this is a welcome feature. However, the sharing of state between instances is a bit concerning. Could the server not mainta...
groovy - Uri Moszkowicz - 22 hours 4 minutes ago
HtmlUnit also works great, if you want to actually do something with the webpage.http://htmlunit.sourceforge.net/@Grapes(@Grab(group='net.sourceforge.htmlunit', module='htmlunit', vers...
groovy - Tom Nichols - 22 hours 11 minutes ago
See also: http://groovy.codehaus.org/modules/http-builder/for a slightly more sophisticated (aka complex) way to do it. </shameless self-promotion> On Thu, Mar 11, 2010 at 11:05 AM, Tim Yates &l...
groovy - Skeptic . - 22 hours 15 minutes ago
Thanks,Last question, what is the idea beind "named" factories ?From: jason@...Date: Sat, 6 Mar 2010 00:33:01 +0700To: user@...Subject: Re: [groovy-user] Building a custom Builder On Mar 5, 2010...
groovy - Tim Yates - 22 hours 18 minutes ago
new URL( "http://www.google.com" ).textOn Thu, Mar 11, 2010 at 4:02 PM, Anders Viklund <viklund_anders@...> wrote: Hi,is there a simple way to fetch the contents of a web page u...
groovy - Rick R-2 - 22 hours 21 minutes ago
I got it working going back to use the main maven repo and then needed the following dependencies (although that just gets me to the maven build stage , haven't tried the working code yet:)   &nb...
groovy - citron - 22 hours 21 minutes ago
Hi,is there a simple way to fetch the contents of a web page using Groovy?Thanks! Hotmail: Trusted email with Microsoft���s powerful SPAM protection. Sign up now.
groovy - fachhoch - 22 hours 28 minutes ago
        <bean id="pdReturnedDocumentsEmail"  parent="notificationFunction" depends-on="leadAnlystReturnedAssignmentEmail" >     &...
groovy - Rick R-2 - 22 hours 28 minutes ago
I'm pulling my hair out here trying to get the groovyws module working from maven. It starts bitching about all kinds of dependencies and I even when I add some I think I have right, it's still compla...
groovy - grols - 22 hours 34 minutes ago
you're absolutely right. i didn't think of this. maybe i should implement the version of yours. i'll see. cheers The difference is that we consult the delegate first, and you consult the script first ...
About
groovyblogs.org was developed by Glen Smith. This site is running groovyblogs version 1.2.8 on Grails 1.2-M2
News
We are now available on twitter and via the iphone. Now hosting reliably thanks to: Contegix
Login
User Id: Password: Remember Me:

Forgotten your password?

Need to Sign Up?

Preferences
All Languages (Show English Only)
Get the Source
Download the complete source code to groovyblogs.org. Contribute patches and enhancements!
Stats

297 Blogs Aggregated

7086 Entries Indexed

5 Entries Last 24 hours

site stats

Powered By Grails

All article content copyright by respective authors. groovyblogs.org by Glen Smith.