Hello,

I found the same situation Michael to use java 10

I updated to gradle 4.7 so if you are always ok, I can realize the update version on trunk.

Taher thanks for your alert with gradle 5, I will take care about that and try do find some ideas.

Just for information, I compiled ofbiz trunk on jdk10 with update build.gradle :$

svn diff build.gradle
Index: build.gradle
@@ -200,6 +200,8 @@
 excludedJavaSources.add 'org/apache/ofbiz/order/thirdparty/taxware/TaxwareUTL.java' +excludedJavaSources.add 'org/apache/ofbiz/content/survey/PdfSurveyServices.java' +excludedJavaSources.add 'org/apache/ofbiz/content/compdoc/CompDocServices.java'

Ok it's not a good solution, now I will understand how solve CompDocServices.java and PdfSurveyServices.java correctly :)

Nicolas


On 28/02/2018 23:50, Taher Alkhateeb wrote:
Hi Michael,

I see no problem in upgrading, we would however face a warning everytime we
run a server task which I described in [1]. I have been thinking a lot of a
solution and I think I am close to getting something done.

So I would suggest yeah go for it and I will try to accelerate a solution
to resolve this warning since it fundamentally changes how we invoke server
tasks

[1] https://issues.apache.org/jira/browse/OFBIZ-9972

On Mar 1, 2018 1:43 AM, "Michael Brohl" <michael.br...@ecomify.de> wrote:

Hi all,

I wanted to check if the current OFBiz version is running under the latest
early access version of Oracle JDK 10 and what it takes to make it work.

The current Gradle version we use is not able to detect the Java version
correctly and must be updated for it. I changed the
gradle-wrapper.properties to use Gradle 4.6 and now JDK 10 is detected. The
project does not compile but this would be part of the next steps.

Can we/do we want to upgrade Gradle to version 4.6 or are there any
objections against it?

If we want to upgrade, I would file a Jira for this task, try to make
everything work with JDK 1.8 first and provide a patch for it.

Thanks and regards,

Michael Brohl
ecomify GmbH
www.ecomify.de


Reply via email to