Re: Java 8 and functional programming in trunk

2015-10-23 Thread Jacques Le Roux
All demos now run with Java 8. Still Buildbot pending... Jacques Le 19/10/2015 10:34, Nicolas Malin a écrit : Le 18/10/2015 23:23, Jacques Le Roux a écrit : Thanks Taher, It should be OK, but I'll remember ;) Jacques Jacques, Taher, hanks for this issue and your time !

Re: Java 8 and functional programming in trunk

2015-10-19 Thread Nicolas Malin
Le 18/10/2015 23:23, Jacques Le Roux a écrit : Thanks Taher, It should be OK, but I'll remember ;) Jacques Jacques, Taher, hanks for this issue and your time !

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Jacques Le Roux
le.r...@les7arts.com> To: dev@ofbiz.apache.org Sent: Sunday, 18 October, 2015 1:36:22 PM Subject: Re: Java 8 and functional programming in trunk Hi Taher, Yes I remember now, that's exactly why I was reluctant to do so. I have a message remembering me that popping everyday... for months (I h

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Jacques Le Roux
;jacques.le.r...@les7arts.com> To: dev@ofbiz.apache.org Sent: Sunday, 18 October, 2015 1:36:22 PM Subject: Re: Java 8 and functional programming in trunk Hi Taher, Yes I remember now, that's exactly why I was reluctant to do so. I have a message remembering me that popping everyday... for mon

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Taher Alkhateeb
gt;>> builds: >>>> >>>> + >>>> >>>> Taher Alkhateeb >>>> >>>> - Original Message - >>>> >>>> From: "Jacques Le Roux" <jacques.le.r...@les7arts.com> >>>> To: dev@ofbiz.

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Taher Alkhateeb
system for trunk to use JDK 8. Taher Alkhateeb - Original Message - From: "Ron Wheeler" <rwhee...@artifact-software.com> To: dev@ofbiz.apache.org Sent: Wednesday, 14 October, 2015 3:40:33 PM Subject: Re: Java 8 and functional programming in trunk Good point about

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Taher Alkhateeb
com> To: dev@ofbiz.apache.org Sent: Sunday, 18 October, 2015 1:36:22 PM Subject: Re: Java 8 and functional programming in trunk Hi Taher, Yes I remember now, that's exactly why I was reluctant to do so. I have a message remembering me that popping everyday... for months (I have tons of others :D) Ac

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Jacques Le Roux
Alkhateeb - Original Message - From: "Jacques Le Roux" <jacques.le.r...@les7arts.com> To: dev@ofbiz.apache.org Sent: Sunday, 18 October, 2015 1:36:22 PM Subject: Re: Java 8 and functional programming in trunk Hi Taher, Yes I remember now, that's exactly why I was reluctant

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Jacques Le Roux
14 October, 2015 3:40:33 PM Subject: Re: Java 8 and functional programming in trunk Good point about the backporting. This will have an effect on the enthusiasm for backporting fixes. Comparing trunk and backported code will certainly make for some good examples about how to use Java 8 to wr

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Jacques Le Roux
is the exact patch line in macros.xml that would fail the builds: + Taher Alkhateeb - Original Message - From: "Jacques Le Roux" <jacques.le.r...@les7arts.com> To: dev@ofbiz.apache.org Sent: Sunday, 18 October, 2015 1:36:22 PM Subject: Re: Java 8 and functional programming in

Re: Java 8 and functional programming in trunk

2015-10-14 Thread Pierre Smits
gt;>> is pretty much ready to move to JDK 8. I'm not sure if lazy consensus is >>> enough or whether a vote is warranted to move this issue forward? >>> >>> Cheers, >>> >>> Taher Alkhateeb >>> >>> - Original Message - &g

Re: Java 8 and functional programming in trunk

2015-10-14 Thread Jacques Le Roux
.com> To: dev@ofbiz.apache.org Sent: Thursday, 7 May, 2015 10:52:00 AM Subject: Re: Java 8 and functional programming in trunk I don't think that it is a question of using or not using J8. It is more about when to move it into trunk, as from that moment on there will be backward compatibility i

Re: Java 8 and functional programming in trunk

2015-10-14 Thread Taher Alkhateeb
? Taher Alkhateeb - Original Message - From: "Jacques Le Roux" <jacques.le.r...@les7arts.com> To: dev@ofbiz.apache.org Sent: Wednesday, 14 October, 2015 12:23:31 PM Subject: Re: Java 8 and functional programming in trunk I tend to agree. Actually there are 2 points

Re: Java 8 and functional programming in trunk

2015-10-14 Thread Ron Wheeler
m: "Pierre Smits" <pierre.sm...@gmail.com> To: dev@ofbiz.apache.org Sent: Thursday, 7 May, 2015 10:52:00 AM Subject: Re: Java 8 and functional programming in trunk I don't think that it is a question of using or not using J8. It is more about when to move it into trunk, as from that

Re: Java 8 and functional programming in trunk

2015-10-14 Thread Jacques Le Roux
- From: "Pierre Smits" <pierre.sm...@gmail.com> To: dev@ofbiz.apache.org Sent: Thursday, 7 May, 2015 10:52:00 AM Subject: Re: Java 8 and functional programming in trunk I don't think that it is a question of using or not using J8. It is more about when to move it into trunk, as

Re: Java 8 and functional programming in trunk

2015-10-14 Thread Jacques Le Roux
ofbiz.apache.org Sent: Wednesday, 14 October, 2015 12:23:31 PM Subject: Re: Java 8 and functional programming in trunk I tend to agree. Actually there are 2 points, 1) use Java 8 to compile 2) use new Java 8 features We can already do 1, but we should maybe wait the next freezed branch to do

Re: Java 8 and functional programming in trunk

2015-10-14 Thread Ron Wheeler
.com> To: dev@ofbiz.apache.org Sent: Wednesday, 14 October, 2015 12:23:31 PM Subject: Re: Java 8 and functional programming in trunk I tend to agree. Actually there are 2 points, 1) use Java 8 to compile 2) use new Java 8 features We can already do 1, but we should maybe wait the next freezed

Re: Java 8 and functional programming in trunk

2015-10-11 Thread Taher Alkhateeb
: "Pierre Smits" <pierre.sm...@gmail.com> To: dev@ofbiz.apache.org Sent: Thursday, 7 May, 2015 10:52:00 AM Subject: Re: Java 8 and functional programming in trunk I don't think that it is a question of using or not using J8. It is more about when to move it into trunk, as

Re: Java 8 and functional programming in trunk

2015-10-11 Thread Ron Wheeler
0 AM Subject: Re: Java 8 and functional programming in trunk I don't think that it is a question of using or not using J8. It is more about when to move it into trunk, as from that moment on there will be backward compatibility issues. A helpful solution in this respect could be to designate a specifi

Re: Java 8 and functional programming in trunk

2015-06-05 Thread Taher Alkhateeb
, ==@gteq} - Original Message - From: Taher Alkhateeb slidingfilame...@gmail.com To: dev@ofbiz.apache.org Sent: Monday, 25 May, 2015 8:08:25 AM Subject: Re: Java 8 and functional programming in trunk Hello everyone, Okay, so it seems there is consensus on going ahead with Java 8. I

Re: Java 8 and functional programming in trunk

2015-06-05 Thread Taher Alkhateeb
adrian.c...@sandglass-software.com To: dev@ofbiz.apache.org Sent: Friday, 5 June, 2015 6:48:50 PM Subject: Re: Java 8 and functional programming in trunk I would recommend committing each fix separately, then log the revision numbers in a single Jira issue. Adrian Crum Sandglass Software

Re: Java 8 and functional programming in trunk

2015-06-05 Thread Adrian Crum
@ofbiz.apache.org Sent: Monday, 25 May, 2015 8:08:25 AM Subject: Re: Java 8 and functional programming in trunk Hello everyone, Okay, so it seems there is consensus on going ahead with Java 8. I tried testing this patch which I believe upgrades OFBiz to JDK 8. Running ./ant clean-all build load

Re: Java 8 and functional programming in trunk

2015-05-24 Thread Taher Alkhateeb
) error log end Taher Alkhateeb - Original Message - From: Ron Wheeler rwhee...@artifact-software.com To: dev@ofbiz.apache.org Sent: Thursday, 7 May, 2015 8:12:20 PM Subject: Re: Java 8 and functional programming in trunk On 07/05/2015 12:37 PM, Christian Geisert wrote: Well

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Jacques Le Roux
Not a separate instance, just a change in the Python BuildBot script; nothing complicated Jacques Le 07/05/2015 10:12, Pierre Smits a écrit : Wouldn't we need a separate CI instance on J8 to ensure that tests don't fail? Best regards, Pierre Smits *ORRTIZ.COM http://www.orrtiz.com*

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Michael Brohl
+1 I think it would be strange to do a 1st release of 14.12 without moving from (then non-supported) Java 1.7 to 1.8. Michael ecomify GmbH www.ecomify.de Am 07.05.15 um 09:58 schrieb Jacopo Cappellato: On May 7, 2015, at 9:52 AM, Pierre Smits pierre.sm...@gmail.com wrote: I don't think

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Nicolas Malin
Ok Thanks Scott and Jacques. So Who is against use java 8 and more on trunk ? :) Nicolas Le 07/05/2015 08:46, Jacques Le Roux a écrit : Yes (lazy) consensus over vote ;) Jacques Le 07/05/2015 05:02, Scott Gray a écrit : I'm not sure if a vote is necessary, particularly if no one has any

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Pierre Smits
I don't think that it is a question of using or not using J8. It is more about when to move it into trunk, as from that moment on there will be backward compatibility issues. A helpful solution in this respect could be to designate a specific release branch now (e.g. r15 or r16), create the

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Jacques Le Roux
Yes (lazy) consensus over vote ;) Jacques Le 07/05/2015 05:02, Scott Gray a écrit : I'm not sure if a vote is necessary, particularly if no one has any objections. Regards Scott On 7 May 2015 07:44, Nicolas Malin nicolas.ma...@nereide.fr wrote: I'm favorable to use java 8. I think it's will

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Jacopo Cappellato
On May 7, 2015, at 9:52 AM, Pierre Smits pierre.sm...@gmail.com wrote: I don't think that it is a question of using or not using J8. It is more about when to move it into trunk, as from that moment on there will be backward compatibility issues. I think we could do it also in the 14.12

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Jacques Le Roux
I tend to agree Jacques Le 07/05/2015 09:58, Jacopo Cappellato a écrit : On May 7, 2015, at 9:52 AM, Pierre Smits pierre.sm...@gmail.com wrote: I don't think that it is a question of using or not using J8. It is more about when to move it into trunk, as from that moment on there will be

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Pierre Smits
Wouldn't we need a separate CI instance on J8 to ensure that tests don't fail? Best regards, Pierre Smits *ORRTIZ.COM http://www.orrtiz.com* Services Solutions for Cloud- Based Manufacturing, Professional Services and Retail Trade http://www.orrtiz.com On Thu, May 7, 2015 at 9:58 AM, Jacopo

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Adam Heath
Not a reply to Jacques, but if an absolutely java-8-only feature is used, be sure to update the regex in ${ofbiz.home}/macros.xml, then the source/target values in common.xml in the same folder. ps: I'm fine with moving towards 1.8. It's not a choice that we can make, actually. On

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Ron Wheeler
+1 Java 8 works well, is supported and opens a lot of doors for new ways to write clearer code. Ron On 07/05/2015 4:58 AM, Michael Brohl wrote: +1 I think it would be strange to do a 1st release of 14.12 without moving from (then non-supported) Java 1.7 to 1.8. Michael ecomify GmbH

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Christian Geisert
Yes, we must support Java 8, but we absolutely have the choice to still support Java 7 (i.e. no use of Java 8 only features yet) IMHO there should be good reasons to use these Java 8 features (not just because it's cool..) It's not a big deal to update a developer machine to Java 8 (well, my

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Christian Geisert
Well call it Standards Office or whatever, the guys who decide which platforms are allowed to use in the company. Java 8 is available since just about a year.. Just the mentioned Ubuntu 12.04 LTS (= Longtime Support, which means support for 5 years) has no Java 8 in the official repositories. Is

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Ron Wheeler
On 07/05/2015 12:37 PM, Christian Geisert wrote: Well call it Standards Office or whatever, the guys who decide which platforms are allowed to use in the company. Java 7 will be coming off the list in most companies if it has not already been done. Java 8 is available since just about a

Re: Java 8 and functional programming in trunk

2015-05-06 Thread Nicolas Malin
I'm favorable to use java 8. I think it's will be pretty fin if you can support oracle jdk8 and openjdk8 also. I propose to organize a vote to validate or not this proposition Nicolas Le 03/05/2015 11:52, Jacques Le Roux a écrit : Hi Taher, Yes I think so. For now well known (I hope ;))

Re: Java 8 and functional programming in trunk

2015-05-06 Thread Scott Gray
I'm not sure if a vote is necessary, particularly if no one has any objections. Regards Scott On 7 May 2015 07:44, Nicolas Malin nicolas.ma...@nereide.fr wrote: I'm favorable to use java 8. I think it's will be pretty fin if you can support oracle jdk8 and openjdk8 also. I propose to

Java 8 and functional programming in trunk

2015-05-03 Thread Taher Alkhateeb
Hi everyone, I would like to work on a few JIRAs and at the same refactor some existing code to utilize Lambdas and Streams utilizing Java 8 features. Is it acceptable to develop with JDK 8 features into trunk? Taher Alkhateeb

Re: Java 8 and functional programming in trunk

2015-05-03 Thread Jacques Le Roux
Hi Taher, Yes I think so. For now well known (I hope ;)) security reasons, if people want to use Oracle JDK they need to use Java 8. So implementing with new Java 8 features now in trunk sounds good to me. BTW this is only my opinion... Note that our demos are still using OpenJDK 1.7 I'm not