Re: Java 8 and functional programming in trunk

2015-10-22 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
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) Actually it should not be a burden. I have j

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Taher Alkhateeb
;>>> + >>>> >>>> Taher Alkhateeb >>>> >>>> - Original Message - >>>> >>>> From: "Jacques Le Roux" >>>> To: dev@ofbiz.apache.org >>>> Sent: Sunday, 18 October, 2015 1:36:22 PM >&

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Jacques Le Roux
; 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) Act

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Jacques Le Roux
the exact patch line in macros.xml that would fail the builds: + Taher Alkhateeb - Original Message - From: "Jacques Le Roux" 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 n

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Jacques Le Roux
Alkhateeb - Original Message - From: "Jacques Le Roux" 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 reme

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Taher Alkhateeb
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) Actually it should not be a burd

Re: Java 8 and functional programming in trunk

2015-10-18 Thread Jacques Le Roux
ques Le Roux" 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 ne

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" 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 the backporting. This will have an eff

Re: Java 8 and functional programming in trunk

2015-10-14 Thread Ron Wheeler
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 branch t

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 2. Th

Re: Java 8 and functional programming in trunk

2015-10-14 Thread Jacques Le Roux
its" 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 compatibili

Re: Java 8 and functional programming in trunk

2015-10-14 Thread Ron Wheeler
new features of the language? Why did you upgrade in the first place if you do not intend to use the newer features? Taher Alkhateeb - Original Message - From: "Jacques Le Roux" To: dev@ofbiz.apache.org Sent: Wednesday, 14 October, 2015 12:23:31 PM Subject: Re: Java 8 and f

Re: Java 8 and functional programming in trunk

2015-10-14 Thread Taher Alkhateeb
tures? Taher Alkhateeb - Original Message - From: "Jacques Le Roux" 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)

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 - &

Re: Java 8 and functional programming in trunk

2015-10-14 Thread Jacques Le Roux
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 issues. A helpful solu

Re: Java 8 and functional programming in trunk

2015-10-11 Thread Ron Wheeler
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 - From: "Pierre Smits" To: dev@ofbiz.apache.org Sent: Thursday, 7 May, 2015 10:52:00 AM Subject: Re: Java 8

Re: Java 8 and functional programming in trunk

2015-10-11 Thread Taher Alkhateeb
From: "Pierre Smits" 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 the

Re: Java 8 and functional programming in trunk

2015-06-05 Thread Taher Alkhateeb
Crum" 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 www.sandglass-software.

Re: Java 8 and functional programming in trunk

2015-06-05 Thread Adrian Crum
- From: "Taher Alkhateeb" 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 tried testing this patch which I believe upgrades OFBiz to JD

Re: Java 8 and functional programming in trunk

2015-06-05 Thread Taher Alkhateeb
&=@and, ||=@or, <==@lteq, <=@lt, >=@gt, >==@gteq} - Original Message - From: "Taher Alkhateeb" 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 ther

Re: Java 8 and functional programming in trunk

2015-05-24 Thread Taher Alkhateeb
biz.base.container.ContainerLoader.start(ContainerLoader.java:237) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:408) at org.ofbiz.base.start.Start.start(Start.java:434) at org.ofbiz.base.start.Start.main(Start.java:135) error log end ==== Taher Alkhateeb - Original Messag

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-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 11:32 AM, Christian Geisert wrote: 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

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 lapt

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 www.eco

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 05/07/201

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 * Servic

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 wrote: I don't think that it is a question of

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 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 issu

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 * Services & Solutions for Cloud- Based Manufacturing, Professional Services and Retail & Trade http://www.orrtiz.com On Thu, May 7, 2015 at 9:58 AM, Jaco

Re: Java 8 and functional programming in trunk

2015-05-07 Thread Jacopo Cappellato
On May 7, 2015, at 9:52 AM, Pierre Smits 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 release branch because no

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 version

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 ob

Re: Java 8 and functional programming in trunk

2015-05-06 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" wrote: I'm favorable to use java 8. I think it's will be pretty fin if you c

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" 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 organize a vote to valid

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 ;)) sec

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 q

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