Re: ShortTypeHandling castToString

2016-06-18 Thread Paul King
I updated PR #345 as per your comments (I believe). Let me know if it looks okay. I did require changing one swing test that was relying on the old toString behavior. It would be nice if Andres could comment if such a change could impact Griffon. On Sat, Jun 18, 2016 at 6:04 PM, Jochen Theodorou

Using a groovy package from jruby

2016-06-18 Thread Charles Monteiro
Specifically one created from our source , I mention in case control of source matters, is this viable? -- Charles Monteiro On June 18, 2016 at 2:12:54 PM, Mr Andersson (mr.andersson@gmail.com) wrote: > I was able to get it to work, both as separate groovy and java directories > and as one

Re: Integrating Groovy with a Java EE application and Maven

2016-06-18 Thread Mr Andersson
I was able to get it to work, both as separate groovy and java directories and as one directory ( basically a groovy directory with mixed ). It is interesting how complex this task was. It would appear as if the Groovy community should have figured this out by now. I finally ( after 10 hours

Re: Integrating Groovy with a Java EE application and Maven

2016-06-18 Thread Schalk W . Cronjé
I dob't know about Ant, but in Gradle it us eady to get joint-compilation of Groovy & Java if eerything is under the src/main/groovy folder. Sent from my Samsung device Original message From: Mr Andersson Date: 18/06/2016 18:39 (GMT+01:00) To: users@groovy.apache.or

Re: Integrating Groovy with a Java EE application and Maven

2016-06-18 Thread Mr Andersson
I have gotten a bit further in my research and came up with this sample project which uses ant to compile the groovy classes but I can't get them to compile together. To be able to have cyclic dependencies between Java and Groovy files. Here is a standalone isolated maven project that contains

Re: Integrating Groovy with a Java EE application and Maven

2016-06-18 Thread Jochen Theodorou
On 18.06.2016 13:40, Mr Andersson wrote: [...] I've tried: org.codehaus.groovy groovy 2.4.7 as well as true org.apache.maven.plugins maven-compiler-plugin 3.5.1 ${java.version} ${java.version} groovy-eclipse-compile

Integrating Groovy with a Java EE application and Maven

2016-06-18 Thread Mr Andersson
Hi, I can not find any info on this online that will actually work. I've tried: org.codehaus.groovy groovy 2.4.7 as well as true org.apache.maven.plugins maven-compiler-plugin 3.5.1 ${java.version} ${java.version} groovy-ecli

Re: GPARS.withPool, xml.MarkupBuilder, XmlParser and HTTPBuilder

2016-06-18 Thread Jochen Theodorou
On 16.06.2016 09:40, Paolo wrote: [...] So basically I have a closure called fileworker that will process a file def fileworker = { open file parse file, adjust some values and create XML file using MarkupBuilder parse the created XML file using XmlParser upload file and XML file usi

Re: ShortTypeHandling castToString

2016-06-18 Thread Jochen Theodorou
On 15.06.2016 14:36, Winnebeck, Jason wrote: OK, I see the PR. I would be interested to hear Jochen's comments because the way the class is documented it looks like that class is meant to be called in situations with constrained conditions. yes I mean, doesn't the normal String cast in Groo