Re: Discussion: Moving to Java 7

2014-06-25 Thread Jacques Le Roux
Thanks Adam, Very good news: the tests are now passing here using Java 7 So there is now nothing blocking us to move to Java 7 :) Jacques Le 25/06/2014 01:38, Adam Heath a écrit : Fixing On 06/24/2014 06:18 PM, Adam Heath wrote: So move them to a separate suite, defined in testdefs/,

Re: Discussion: Moving to Java 7

2014-06-25 Thread Adam Heath
If I get enough responses, I'll update macros.xml/common.xml/build.xml(s) to force the issue. On 06/25/2014 08:48 AM, Jacques Le Roux wrote: Thanks Adam, Very good news: the tests are now passing here using Java 7 So there is now nothing blocking us to move to Java 7 :) Jacques Le

Re: Discussion: Moving to Java 7

2014-06-25 Thread Adrian Crum
I have a patch ready to go. Adrian Crum Sandglass Software www.sandglass-software.com On 6/25/2014 8:43 AM, Adam Heath wrote: If I get enough responses, I'll update macros.xml/common.xml/build.xml(s) to force the issue. On 06/25/2014 08:48 AM, Jacques Le Roux wrote: Thanks Adam, Very good

Re: Discussion: Moving to Java 7

2014-06-25 Thread Adam Heath
Then go! On 06/25/2014 11:18 AM, Adrian Crum wrote: I have a patch ready to go. Adrian Crum Sandglass Software www.sandglass-software.com On 6/25/2014 8:43 AM, Adam Heath wrote: If I get enough responses, I'll update macros.xml/common.xml/build.xml(s) to force the issue. On 06/25/2014 08:48

Re: Discussion: Moving to Java 7

2014-06-24 Thread Adam Heath
So move them to a separate suite, defined in testdefs/, or ... Since TestSuite is an extension of TestCase, have it explicitly add in sub TestCase instances. ps: starting up this old thread again On 12/29/2013 01:24 PM, Adrian Crum wrote: It seems JUnit is not running the tests in the same

Re: Discussion: Moving to Java 7

2014-06-24 Thread Adam Heath
Fixing On 06/24/2014 06:18 PM, Adam Heath wrote: So move them to a separate suite, defined in testdefs/, or ... Since TestSuite is an extension of TestCase, have it explicitly add in sub TestCase instances. ps: starting up this old thread again On 12/29/2013 01:24 PM, Adrian Crum

Re: Discussion: Moving to Java 7

2014-06-24 Thread Adam Heath
Ok, I just fixed a bunch of these, but there were only in 2 test suites. I was able to do a clean-all load-demo run-tests loop 10 times, without issue. ps: When I do this kind of work, I symlink runtime/data/derby - /dev/shm/derby. I also keep my virtual-machine with 4 cores and 1.5G, and

Re: Discussion: Moving to Java 7

2014-01-01 Thread Jacques Le Roux
BTW noticed also this article http://www.javacodegeeks.com/2013/05/minor-gotchas-from-migration-to-java-7.html Jacques On Sunday, December 29, 2013 10:16 PM jacques.le.r...@les7arts.com wrote Interesting, thanks Adrian! Jacques On Sunday, December 29, 2013 9:45 PM

Re: Discussion: Moving to Java 7

2013-12-29 Thread Adrian Crum
It seems JUnit is not running the tests in the same sequence as before. The tests are failing when a later test depends on the results of a previous test. I am still looking into this. Adrian Crum Sandglass Software www.sandglass-software.com On 12/11/2013 6:15 AM, Jacques Le Roux wrote:

Re: Discussion: Moving to Java 7

2013-12-29 Thread Adrian Crum
JUnit does not guarantee the tests will be run in the order that they appear in source code: http://stackoverflow.com/questions/3693626/how-to-run-test-methods-in-specific-order-in-junit4 Somehow, we got away with it. So, we need to fix our unit tests to remove that assumption. I fixed one

Re: Discussion: Moving to Java 7

2013-12-29 Thread Jacques Le Roux
Interesting, thanks Adrian! Jacques On Sunday, December 29, 2013 9:45 PM adrian.c...@sandglass-software.com wrote JUnit does not guarantee the tests will be run in the order that they appear in source code:

Re: Discussion: Moving to Java 7

2013-12-22 Thread Jacopo Cappellato
Java 1.7.0_40 on OSX 10.9.1 Jacopo On Dec 21, 2013, at 5:43 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Hi Jacopo, What was your context? Jacques On Friday, December 13, 2013 11:52 AM jacopo.cappell...@hotwaxmedia.com wrote All the tests are successful in the release

Re: Discussion: Moving to Java 7

2013-12-21 Thread Jacques Le Roux
Hi Jacopo, What was your context? Jacques On Friday, December 13, 2013 11:52 AM jacopo.cappell...@hotwaxmedia.com wrote All the tests are successful in the release 13.07 Jacopo On Dec 11, 2013, at 12:15 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Yes here also, running

Re: Discussion: Moving to Java 7

2013-12-16 Thread Christian Geisert
With Java 1.6.0_38-b05 the tests are running successful on my Ubuntu 12.10. Under OpenJDK 1.7.0_25 I get 5 Failures and 2 error (errors are testRemoveValue and testEntityCache in entitytests) But what does the subject Moving to Java 7 mean? Just that OFBiz should run on Java7 without problems or

Re: Discussion: Moving to Java 7

2013-12-16 Thread Adrian Crum
It means OFBiz should run on Java 7. Since Oracle will not be updating 6 anymore, servers running on 6 might become vulnerable to attacks. Adrian Crum Sandglass Software www.sandglass-software.com On 12/16/2013 7:55 AM, Christian Geisert wrote: With Java 1.6.0_38-b05 the tests are running

Re: Discussion: Moving to Java 7

2013-12-15 Thread Jacques Le Roux
Using Ubuntu 13.10 with last Oracle Java 7 (45) in a VirtualBox on Win7, I still get 4 failures and 1 errors Error: a NPE on testDeposit Failures: testWithdraw testForeignKeyRemove testStoreByCondition testRemoveByCondition Not sure what to think... Jacques On Friday, December 13, 2013 5:59

Re: Discussion: Moving to Java 7

2013-12-13 Thread Jacopo Cappellato
All the tests are successful in the release 13.07 Jacopo On Dec 11, 2013, at 12:15 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Yes here also, running ant clean clean-data build load-demo run-tests I got 3 errors accountingtests testWithdraw testDeposit

Re: Discussion: Moving to Java 7

2013-12-13 Thread Jacques Le Roux
I got 5 errors, 7 failures here on Win7 as I found on XP. I will soon install a VM and Debian... Jacques On Friday, December 13, 2013 11:52 AM Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com wrote: All the tests are successful in the release 13.07 Jacopo On Dec 11, 2013, at 12:15

Re: Discussion: Moving to Java 7

2013-12-11 Thread Adrian Crum
The tests are not passing on Java 7. I have tried it on three different computers. Does anyone else have that problem? Adrian Crum Sandglass Software www.sandglass-software.com On 12/7/2013 7:33 AM, Adrian Crum wrote: Support for Java 6 is fading: http://java.com/en/download/faq/java_6.xml

Re: Discussion: Moving to Java 7

2013-12-11 Thread Jacques Le Roux
Yes here also, running ant clean clean-data build load-demo run-tests I got 3 errors accountingtests testWithdraw testDeposit servicetests entitytests testSOAPSimpleService (this one fails sometimes here even with Java 6) and 4 failures

Re: Discussion: Moving to Java 7

2013-12-09 Thread Ankit Jain
+1 Regards, ** Ankit Jain | 9717930151 On Sun, Dec 8, 2013 at 12:08 PM, Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com wrote: +1 I am also running Java 7 in my local (dev) box without problems since a couple of months. I think we should migrate the trunk but also

Discussion: Moving to Java 7

2013-12-07 Thread Adrian Crum
Support for Java 6 is fading: http://java.com/en/download/faq/java_6.xml We need to discuss moving OFBiz over to Java 7. I have been building and running OFBiz R13 on Oracle Java 7 for over a month, and there were some minor compilation problems, but they were easy to fix. What do you

Re: Discussion: Moving to Java 7

2013-12-07 Thread Jacques Le Roux
I think it's safe to move over to Java 7 without any changes. I have run OFBiz locally - dev mode - for a long time using Java 7, until recently where I moved back to Java 6 for other reasons. What will be quite interesting is moving to Java 8, which IMO, we should consider ASAP as it will be

Re: Discussion: Moving to Java 7

2013-12-07 Thread Scott Gray
Then much more changes can be envisionned... Such as? Regards Scott On 7/12/2013, at 1:39 PM, Jacques Le Roux wrote: I think it's safe to move over to Java 7 without any changes. I have run OFBiz locally - dev mode - for a long time using Java 7, until recently where I moved back to Java

Re: Discussion: Moving to Java 7

2013-12-07 Thread Taher Alkhateeb
lambda functions which avoids ugly for loops - vm is much smaller I think migration would be a pain though! Taher Alkhateeb - Original Message - From: Scott Gray scott.g...@hotwaxmedia.com To: dev@ofbiz.apache.org Sent: Saturday, December 7, 2013 5:30:42 PM Subject: Re: Discussion: Moving

Re: Discussion: Moving to Java 7

2013-12-07 Thread Jacques Le Roux
...@hotwaxmedia.com To: dev@ofbiz.apache.org Sent: Saturday, December 7, 2013 5:30:42 PM Subject: Re: Discussion: Moving to Java 7 Then much more changes can be envisionned... Such as? Regards Scott On 7/12/2013, at 1:39 PM, Jacques Le Roux wrote: I think it's safe to move over to Java 7

Re: Discussion: Moving to Java 7

2013-12-07 Thread Ean Schuessler
I've also had good luck running on Java 7. - Jacques Le Roux jacques.le.r...@les7arts.com wrote: I think it's safe to move over to Java 7 without any changes. I have run OFBiz locally - dev mode - for a long time using Java 7, until recently where I moved back to Java 6 for other reasons.

Re: Discussion: Moving to Java 7

2013-12-07 Thread Jacopo Cappellato
+1 I am also running Java 7 in my local (dev) box without problems since a couple of months. I think we should migrate the trunk but also the 13.07 release branch because we will issue releases until 2016. Jacopo On Dec 7, 2013, at 1:33 PM, Adrian Crum adrian.c...@sandglass-software.com