Re: does gmavenplus support lombok?

2016-05-09 Thread Andre Steingress
I am in a JSF project where we use Lombok, we just included it as a dependency for the build: https://projectlombok.org/mavenrepo/ For IDE support things are a bit different, for Eclipse you need to set the lombok.jar as JavaAgent, in IntelliJ I think there is a plugin. On 10 May 2016 at 08:35

Re: does gmavenplus support lombok?

2016-05-09 Thread Keegan Witt
I haven't used Lombok, but wouldn't you just add Lombok as a dependency in your POM? Have you tried that already? -Keegan On May 10, 2016 2:07 AM, "Jochen Theodorou" wrote: > On 10.05.2016 03:31, SuoNayi wrote: > >> any comments,guys? >> > > well... I did not found anything that looks like it w

Re: does gmavenplus support lombok?

2016-05-09 Thread Jochen Theodorou
On 10.05.2016 03:31, SuoNayi wrote: any comments,guys? well... I did not found anything that looks like it would support it. by Jochen

Re: Requesting Advice for Groovy Approach for Unique Date Conversions

2016-05-09 Thread Henrik Martin
Always happy to help open up cans of worms :-) I ended up with a simplistic utility class with a private no-arg constructor and a few static methods for the particular conversions I needed to do. Not sure if there's a "Groovy best practices" approach to this, but I didn't need anything more sop

Re: does gmavenplus support lombok?

2016-05-09 Thread SuoNayi
any comments,guys? 发自我的 iPhone > 在 2016年5月9日,14:52,NETEASE 写道: > > Hi, I use groovy-eclipse-compiler to compile mixed Java and Groovy source > codes and employ lombok to make less coding for Java. > Now I want to enable invokedynamic support to get performance gain. > I found GMavenPlus can he

Re: Requesting Advice for Groovy Approach for Unique Date Conversions

2016-05-09 Thread Gerald Wiltse
Thanks for the feedback Henrik! You've led me to a new can of worms, to see if Oracle and the JodaTime guys made any accomodations for handling JD Edwards time formats in JSR 310. Probably not, but now i have to find out. The core strategy I'm asking about is how to approach the inevitable custom

Re: Requesting Advice for Groovy Approach for Unique Date Conversions

2016-05-09 Thread Henrik Martin
What about creating a few utility methods around the standard Java 8 time/date classes already available in the JDK? I've had to do some date conversions myself recently, and found everything I needed in java.time.*. It seems to me like your task is mostly a format conversion. If so, the variou

Re: Requesting Advice for Groovy Approach for Unique Date Conversions

2016-05-09 Thread Gerald Wiltse
Also, something else just occurred to me which might be relevant. Another option might be to create a JDE Calendar or JDE Date class which extends or implements date or calendar classes/interfaces. My first instinct was to convert dates into Date Objects and strings based on Gregorian calendar on t

Requesting Advice for Groovy Approach for Unique Date Conversions

2016-05-09 Thread Gerald Wiltse
All, In summary, I would like any advice people can offer on how to approach the task below, using the Groovy ways of thinking. The topic at hand is a messy domain-specific problem working with dates in Oracle's ERP software called JD Edwards. It's gory detail is documented here: http://stackove

Re: Groovy Running Slower With More Memory

2016-05-09 Thread Kyle Boon
Adding additional memory can make garbage collection much more difficult. You want to tune the heap size for small, frequent garbage collections and not large, infrequent garbage collections. It's possible that you added extra time before the first garbage collection runs, but then it takes so lon

Re: Groovy Running Slower With More Memory

2016-05-09 Thread Søren Berg Glasius (GR8Conf EU)
Hi Daniel, Without knowing for sure, I would think that setting the minimum heap size to 20G would take some time to allocate. What about just setting the maximum heap size, and let the JVM handle the minimum size, or start lower, like 2G. Best regards, Søren Berg Glasius GR8Conf Europe organ

Groovy Running Slower With More Memory

2016-05-09 Thread Daniel Price
Good Afternoon. I've been running some Groovy 2.4.2 scripts on a Windows 7 64-bit PC with 16GB of RAM. My scripts are memory intensive SQL Server DB manipulators, and I have modified startGroovy.bat to: %JAVA_OPTS% -Xms8192M -Xmx8192M I recently gained access to a new server running Windows Ser