[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-12-03 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17792598#comment-17792598
 ] 

Ioan Eugen Stan commented on OFBIZ-12400:
-

Hi,

What is the holdup with this issue?

Java 21 is out so it's Java 17 is already old :) .

I might get some time to look at ofbiz and try to build some datasets for 
Romanian - so I can use it.

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-08-09 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17752304#comment-17752304
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

Hi Michael,

It's not necessary for  init-gradle-wrapper to download the properties file. As 
mentionned at https://s.apache.org/8802y, only the Gradle bin files are removed 
during the preparation of a Candidate Release.

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-08-08 Thread Michael Brohl (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17752135#comment-17752135
 ] 

Michael Brohl commented on OFBIZ-12400:
---

[~jleroux] there seem to be a mismatch between the ps1 and sh scripts 
functionality.

The sh script not only downloads the wrapper jar file but also the 
corresponding properties file. For 7.6.0, it contains gradle-7.6-rc-4-bin.zip 
instead of gradle-7.6-bin.zip and therefore alters the content and checksums.

I tried with 7.6.2, the latest 7.x version and found that the corresponding 
properties file states the 7.6.1 distribution instead of 7.6.2 which makes the 
shasum check fail. Looking though the distributions it seems that the 
properties file is often not correctly edited.

I am not sure how much we need to check the file integrity and if we should 
make the shell script simpler.

Any opinions?

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-08-08 Thread Michael Brohl (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17752111#comment-17752111
 ] 

Michael Brohl commented on OFBIZ-12400:
---

Ah, thanks for the heads-up Jacques.

Will provide a pr soon.

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-08-08 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17752109#comment-17752109
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

Hi,

What is the situation here?

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-03-03 Thread Michael Brohl (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17696197#comment-17696197
 ] 

Michael Brohl commented on OFBIZ-12400:
---

You are right, [~danwatford] . Currently working on it in the course of a 18.12 
-> 22.01 migration.

Will provide a commit soon.

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-02-21 Thread Daniel Watford (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17691483#comment-17691483
 ] 

Daniel Watford commented on OFBIZ-12400:


init-gradle-wrapper.sh is now out of date compared to init-gradle-wrapper.ps1 
as it refers to a different version of gradle.

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17679871#comment-17679871
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit 0d97f1f43eb72f40d491ecb63203c586f440bf05 in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=0d97f1f43e ]

Improved: Upgrade to gradle 7.6 - support JDK 11 -> 17  (OFBIZ-12400)

Upgrades references from JDK 11 to JDK 17. It's no longer blocking the demos


> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17679872#comment-17679872
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit 013ac8cc98e5fe8c97f83c238a4aac1974d16cd6 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=013ac8cc98 ]

Improved: Upgrade to gradle 7.6 - support JDK 11 -> 17  (OFBIZ-12400)

Upgrades references from JDK 11 to JDK 17. It's no longer blocking the demos


> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-12 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17676502#comment-17676502
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit 490016fcf737b2c7f490237db032e2a0ca05956c in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=490016fcf7 ]

Improved: Upgrade to gradle 7.6 - support JDK 11 -> 17  (OFBIZ-12400)

Downgrades references from JDK 17 to JDK 11. That's something I forgot to test,
it's blocking the demo


> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-12 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17676503#comment-17676503
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit 0d7e61b242328b20d1709269f6369783a32dfe35 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=0d7e61b242 ]

Improved: Upgrade to gradle 7.6 - support JDK 11 -> 17  (OFBIZ-12400)

Downgrades references from JDK 17 to JDK 11. That's something I forgot to test,
it's blocking the demo


> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-12 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17676261#comment-17676261
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit 41d7dd79323af3ab5fccb44c48843c2a450d66c7 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=41d7dd7932 ]

Improved: Upgrade to gradle 7.6 - support JDK 11 -> 17  (OFBIZ-12400)

Removes useless reference to //jrubyVersion = '9.2.19.0'

Upgrade references from JDK 11 to JDK 17


> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-12 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17676128#comment-17676128
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit 13784976a09b65418db2daa7af2cc9e08d6edc3a in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=13784976a0 ]

Improved: Upgrade to gradle 7.6 - support jdk 11 -> 17 (OFBIZ-12400)

Eugen made some changes for checkstyle in his PR. I did not apply those because
they did not appear with Java 11. Now that I'm using Java 17 I got some
checkstyle issues, I guess the same than Eugen fixed. Here they are fixed with
some other formatting changes

Those missed in previous commit


> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-12 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17676105#comment-17676105
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit 2712a75ec25e8e6452232cc0e1377309ce6f9bba in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=2712a75ec2 ]

Improved: Upgrade to gradle 7.6 - support jdk 11 -> 17 (OFBIZ-12400)

Eugen made some changes for checkstyle in his PR. I did not apply those because
they did not appear with Java 11. Now that I'm using Java 17 I got some
checkstyle issues, I guess the same than Eugen fixed. Here they are fixed with
some other formatting changes

Conflicts handled by hand


> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-12 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17676013#comment-17676013
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit 397599a663c1133ed38a8a8a539cdc1528bdc712 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=397599a663 ]

Improved: Upgrade to gradle 7.6 - support JDK 11 -> 17 (OFBIZ-12400)

This is only the Windows init-gradle-wrapper.ps1 file


> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-12 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17676014#comment-17676014
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit fd810574db3e9842fa5fc34b8818fabbc0e126ea in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=fd810574db ]

Improved: Upgrade to gradle 7.6 - support JDK 11 -> 17 (OFBIZ-12400)

This is the necessary upgraded Gradle 7.6 files:
gradle-wrapper.jar
gradle-wrapper.properties


> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-12 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17676011#comment-17676011
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit d4f0f8b2bffe0d02b0bbef5955c57c62b0d2037a in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=d4f0f8b2bf ]

Improved: Upgrade to gradle 7.6 - support JDK 11 -> 17 (OFBIZ-12400)

This is the necessary upgraded Gradle 7.6 files:
gradle-wrapper.jar
gradle-wrapper.properties


> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-12 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17676010#comment-17676010
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit c0b96c5d721018def68c3be56569c72e4526baea in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=c0b96c5d72 ]

Improved: Upgrade to gradle 7.6 - support JDK 11 -> 17 (OFBIZ-12400)

This is only the Windows init-gradle-wrapper.ps1 file


> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-10 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17656673#comment-17656673
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

bq. Ready for the next step: OFBIZ-12729 that depends on 
OFBIZ-12400-windows-binary.patch
I mean: while pushing changes on both trunk and 22.01 for OFBIZ-12729 I will 
also push the necessary change here. Of course I'll not close this umbrella 
task before all subtasks will be done,.

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-10 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17656669#comment-17656669
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

>Obviously by intention, see the commit message
I'm not sure which consistency it's about (looked for it in 18.12). But anyway, 
good that you spotted that, we are now safer.

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-10 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17656667#comment-17656667
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

So I now locally run both tr and 22.01 with JDK 17 and of course Gradle 7.6. 
Ready for the next step: OFBIZ-12729 that depends on 
[^OFBIZ-12400-windows-binary.patch] 

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-10 Thread Michael Brohl (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1765#comment-1765
 ] 

Michael Brohl commented on OFBIZ-12400:
---

Obviously by intention, see the commit message

> ...

> The Gradle download link pulls a gradle-wrapper.properties file which
references services.gradle.org/distributions/gradle-5.0-rc-5-bin.zip
instead of a 5.0.0 distribution. This was left this way for consistency.

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-10 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17656661#comment-17656661
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

Hi Michael,

I agree, it's an error put in while working on 22.01. Here is the corrected 
patch:  [^OFBIZ-12400-windows-binary.patch] 

Its name because to create it I had to use {{git diff --binary > 
OFBIZ-12400-windows-binary.patch}} in order to be able to remove the wrapper 
jar. Removing the jar is necessary to run init-gradle-wrapper for dowloading 
the new wrapper, else we don't download. Obviously all that was a WIP, it 
should be OK for the Windows part now for both trunk and 22.01.

BTW, nobody noticed it, but we have 
distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-rc-5-bin.zip
 in 18.12 branch and 18.12.06. 
You did it with 
https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=94265fd

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-binary.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-09 Thread Michael Brohl (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17656466#comment-17656466
 ] 

Michael Brohl commented on OFBIZ-12400:
---

I've checked the download links both 
[https://services.gradle.org/distributions/gradle-7.6-bin.zip] and 
[https://services.gradle.org/distributions/gradle-7.6-all.zip] work for me and 
contain the latest7.6 distribution.

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-1.patch, OFBIZ-12400-windows.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-09 Thread Michael Brohl (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17656464#comment-17656464
 ] 

Michael Brohl commented on OFBIZ-12400:
---

Hi Jacques,

is there a special need to use a release candidate version of Gradle instead of 
a stable version?

I clearly do not recommend to test (and release) with a non-stable version of 
base components in our framework.

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-1.patch, OFBIZ-12400-windows.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-09 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17656183#comment-17656183
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

I must add that it's quite annoying if they change every month :/

> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows-1.patch, OFBIZ-12400-windows.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2023-01-09 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17656179#comment-17656179
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

Trying the way to manually upgrade Gradle I mentioned upper
bq. To manually upgrade Gradle, I ran: ./gradlew wrapper --gradle-version=7.6 
--distribution-type=bin
I got this result:

{noformat}
C:\projectsASF\Git\ofbiz-framework>gradlew wrapper --gradle-version=7.6 
--distribution-type=bin
Downloading https://services.gradle.org/distributions/gradle-7.6.0-bin.zip

Exception in thread "main" java.io.FileNotFoundException: 
https://downloads.gradle-dn.com/distributions/gradle-7.6.0-bin.zip
{noformat}

It has changed since, it's now gradle-7.6-rc-4-bin.zip, cf.
https://github.com/gradle/gradle/blob/v7.6.0/gradle/wrapper/gradle-wrapper.properties
https://github.com/gradle/gradle/commit/3e8c75024fed81b9589a4721c834fdc5617a61f8

So I also needed to changes in gradle-wrapper.properties
from 
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
to
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-rc-4-bin.zip



> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support JDK 11 -> 17

2022-12-31 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17653284#comment-17653284
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit 23b1c3a4ca95c92f1059d4eb025cfcb8bc285399 in ofbiz-plugins's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=23b1c3a4c ]

Fixed: Upgrade to gradle 7.6 - support jdk 11 -> 17 (OFBIZ-12400)

> java.lang.IllegalArgumentException: Unsupported class file major version 61

This might require a version upgrade for Jersey to a version that supports Java 
17 .
Jersey seems to repackage ASM for bytecode transformations.

The bundled version does not support Java 17 .
An upgrade to jersey 2.37 should do the trick
https://github.com/eclipse-ee4j/jersey/releases/tag/2.37 .

Thanks: Ioan Eugen Stan


> Upgrade to gradle 7.6 - support JDK 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support jdk 11 -> 17

2022-12-07 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17644650#comment-17644650
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

About this last issue, I mean
bq. Caused by: java.lang.IllegalAccessException: class 
freemarker.ext.beans.BeansWrapper cannot access class 
sun.util.calendar.ZoneInfo (in module java.base) because module java.base does 
not export sun.util.calendar to unnamed module @1c852c0f

[The var timeZone is accessible in screen 
context|https://cwiki.apache.org/confluence/display/OFBIZ/Variables+always+available+in+screen+context].
 The java.util.TimeZone class uses sun.util.calendar.ZoneInfo internally. We 
need to replace all occurrences of java.util.TimeZone by java.time.ZoneId

A temporary easy solution is to set 
--add-exports=java.base/sun.util.calendar=ALL-UNNAMED in build.gradle. It has 
no impact with JDK 11.
: 
['-Xms128M','-Xmx1024M','-Djdk.serialFilter=maxarray=10;maxdepth=20;maxrefs=1000;maxbytes=50','--add-exports=java.base/sun.util.calendar=ALL-UNNAMED']

I'll create a Jira sub-task for that.



> Upgrade to gradle 7.6 - support jdk 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support jdk 11 -> 17

2022-12-06 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17643993#comment-17643993
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

Using JDK 17, found this issue today in log:


{noformat}
2022-12-06 19:04:30,689 |sse-nio-8443-exec-10 |FreeMarkerWorker  
|E| null
freemarker.core._TemplateModelException: Java method 
"sun.util.calendar.ZoneInfo.useDaylightTime()" threw an exception when invoked 
on sun.util.calendar.ZoneInfo object 
"sun.util.calendar.ZoneInfo[id=\"Europe/Paris\",offset=360,dstSa
vings=360,useDaylight=true,transitions=184,lastRule=java.util.SimpleTimeZone[id=Europe/Paris,offset=360,dstSavings=360,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=360,start
TimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=360,endTimeMode=2]]";
 see cause exception in the Java stack trace.


FTL stack trace ("~" means nesting-related):
- Failed at: ${timeZone.getDisplayName(timeZone.us...  [in template 
"component://helveticus/template/includes/Footer.ftl" at line 21, column 98]

at 
freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:292)
 ~[freemarker-2.3.31.jar:2.3.31]
at 
freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:255)
 ~[freemarker-2.3.31.jar:2.3.31]
at 
freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:78) 
~[freemarker-2.3.31.jar:2.3.31]
at freemarker.core.MethodCall._eval(MethodCall.java:62) 
~[freemarker-2.3.31.jar:2.3.31]
at freemarker.core.Expression.eval(Expression.java:101) 
~[freemarker-2.3.31.jar:2.3.31]
at freemarker.core.ListLiteral.getModelList(ListLiteral.java:98) 
~[freemarker-2.3.31.jar:2.3.31]
at freemarker.core.MethodCall._eval(MethodCall.java:60) 
~[freemarker-2.3.31.jar:2.3.31]
at freemarker.core.Expression.eval(Expression.java:101) 
~[freemarker-2.3.31.jar:2.3.31]
at 
freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
 ~[freemarker-2.3.31.jar:2.3.31]
at freemarker.core.DollarVariable.accept(DollarVariable.java:63) 
~[freemarker-2.3.31.jar:2.3.31]
at freemarker.core.Environment.visit(Environment.java:347) 
~[freemarker-2.3.31.jar:2.3.31]
at freemarker.core.Environment.visit(Environment.java:353) 
~[freemarker-2.3.31.jar:2.3.31]
at freemarker.core.Environment.process(Environment.java:326) 
~[freemarker-2.3.31.jar:2.3.31]
at 
org.apache.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:242)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:196)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:266)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:165)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1371)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:109)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:297)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:109)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:297)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:109)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:297)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:158)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:819)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:109)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:297)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:158)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
 ~[main/:?]
at 
org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:819)
 ~[main/:?]
at 

[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support jdk 11 -> 17

2022-12-05 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17643471#comment-17643471
 ] 

Ioan Eugen Stan commented on OFBIZ-12400:
-

[~jleroux] :


 > java.lang.IllegalArgumentException: Unsupported class file major version 61 

This might require a version upgrade for Jersey to a version that supports Java 
17 .
Jersey seems to repackage ASM for bytecode transformations.

The bundled version does not support Java 17 . 
An upgrade to jersey 2.37 should do the trick 
[https://github.com/eclipse-ee4j/jersey/releases/tag/2.37] .

 

> Upgrade to gradle 7.6 - support jdk 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support jdk 11 -> 17

2022-12-05 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17643258#comment-17643258
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

We also have 2 warnings

 

AuthHelper.java:132: warning: [removal] AccessController in java.security has 
been deprecated and marked for removal
        return AccessController.doPrivileged(
               ^
GroovyScriptTestCase.java:29: warning: [deprecation] GroovyTestCase in 
groovy.util has been deprecated
public class GroovyScriptTestCase extends GroovyTestCase {

 

> Upgrade to gradle 7.6 - support jdk 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support jdk 11 -> 17

2022-12-05 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17643253#comment-17643253
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

Using JDK 17, we have a problem with the rest-api component. Here is the 
complete log (w/ redundancies)

{noformat}
2022-12-05 10:42:56,632 |main |ServiceDispatcher 
|I| Registering dispatcher: rest-api
2022-12-05 10:42:56,632 |main |ServiceContainer  
|I| Created new dispatcher: rest-api
2022-12-05 10:42:56,633 |main |ApiContextListener
|I| Api Jersey Context initialized, delegator 
org.apache.ofbiz.entity.GenericDelegator@19489b27, dispatcher
2022-12-05 10:42:56,932 |main |OFBizApiConfig
|I| No API definitions to process
Dec 05, 2022 10:42:56 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter [Jersey REST Filter]
java.lang.IllegalArgumentException: Unsupported class file major version 61
at 
jersey.repackaged.org.objectweb.asm.ClassReader.(ClassReader.java:196)
at 
jersey.repackaged.org.objectweb.asm.ClassReader.(ClassReader.java:177)
at 
jersey.repackaged.org.objectweb.asm.ClassReader.(ClassReader.java:163)
at 
org.glassfish.jersey.server.internal.scanning.AnnotationAcceptingListener$ClassReaderWrapper.accept(AnnotationAcceptingListener.java:321)
at 
org.glassfish.jersey.server.internal.scanning.AnnotationAcceptingListener$ClassReaderWrapper.access$200(AnnotationAcceptingListener.java:304)
at 
org.glassfish.jersey.server.internal.scanning.AnnotationAcceptingListener.process(AnnotationAcceptingListener.java:151)
at 
org.glassfish.jersey.server.ResourceConfig.scanClasses(ResourceConfig.java:919)
at 
org.glassfish.jersey.server.ResourceConfig._getClasses(ResourceConfig.java:863)
at 
org.glassfish.jersey.server.ResourceConfig.getClasses(ResourceConfig.java:772)
at 
org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig._getClasses(ResourceConfig.java:1155)
at 
org.glassfish.jersey.server.ResourceConfig.getClasses(ResourceConfig.java:772)
at 
org.glassfish.jersey.server.ResourceConfig$RuntimeConfig.(ResourceConfig.java:1213)
at 
org.glassfish.jersey.server.ResourceConfig$RuntimeConfig.(ResourceConfig.java:1186)
at 
org.glassfish.jersey.server.ResourceConfig.createRuntimeConfig(ResourceConfig.java:1182)
at 
org.glassfish.jersey.server.ApplicationHandler$RuntimeConfigConfigurator.init(ApplicationHandler.java:182)
at 
org.glassfish.jersey.server.ApplicationHandler.lambda$initialize$0(ApplicationHandler.java:290)
at java.base/java.util.Arrays$ArrayList.forEach(Arrays.java:4204)
at 
org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:290)
at 
org.glassfish.jersey.server.ApplicationHandler.(ApplicationHandler.java:259)
at 
org.glassfish.jersey.servlet.WebComponent.(WebComponent.java:311)
at 
org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:154)
at 
org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:393)
at 
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:272)
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:253)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:102)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4614)
at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5257)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at 
java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
at 
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
at 
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at 

[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support jdk 11 -> 17

2022-12-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17642881#comment-17642881
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit 6c70dbe6ea7aff517271daa27b9b08b5ece2c6e2 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=6c70dbe6ea ]

Improved: Upgrade to gradle 7.6 - support jdk 11 -> 17 (OFBIZ-12400)

Eugen made some changes for checkstyle in his PR. I did not apply those because
they did not appear with Java 11. Now that I'm using Java 17 I got some
checkstyle issues, I guess the same than Eugen fixed. Here they are fixed with
some other formatting changes


> Upgrade to gradle 7.6 - support jdk 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support jdk 11 -> 17

2022-12-03 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17642862#comment-17642862
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

Note:
The point 4 at 
https://cwiki.apache.org/confluence/display/OFBIZ/Release+Management+Guide+for+OFBiz#ReleaseManagementGuideforOFBiz-Thingstocheckbeforearelease(thesetaskscanbedelegatedbytheRM(ReleaseManager))
should be updated to rather use the recommendation at 
https://docs.gradle.org/current/userguide/gradle_wrapper.html#wrapper_checksum_verification

> Upgrade to gradle 7.6 - support jdk 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support jdk 11 -> 17

2022-12-03 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17642857#comment-17642857
 ] 

Jacques Le Roux commented on OFBIZ-12400:
-

Following this discussion 
https://lists.apache.org/thread/f33r5t3md9ll49bxv4br6jb8z3fycb9w here is  
[^OFBIZ-12400-windows.patch] 

This is needed because we primordially need to upgrade Java version from 
currently 11 to 17. The 11 version will be EOL in 2023. OEL fo 17  is 2026
See https://www.oracle.com/java/technologies/java-se-support-roadmap.html or  
https://endoflife.date/java

To manually upgrade Gradle, I ran: ./gradlew wrapper --gradle-version=7.6 
--distribution-type=bin

> Upgrade to gradle 7.6 - support jdk 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
> Attachments: OFBIZ-12400-windows.patch
>
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support jdk 11 -> 17

2022-11-30 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17641324#comment-17641324
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit e195f26454c366e8355fee0f59c0f8b5598c0fdd in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=e195f26454 ]

Improved: Upgrade to gradle 7.6 - support jdk 11 -> 17 (OFBIZ-12400)

Upgrades from Groovy from 2.5.18 to 3.0.13 needs an explicit dependency to
commons-cli, here using last version (1.5.0)


> Upgrade to gradle 7.6 - support jdk 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12400) Upgrade to gradle 7.6 - support jdk 11 -> 17

2022-11-30 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17641313#comment-17641313
 ] 

ASF subversion and git services commented on OFBIZ-12400:
-

Commit 4044b86460894d6d1dcea6e374c1b18c63054c7b in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=4044b86460 ]

Improved: Upgrade to gradle 7.6 - support jdk 11 -> 17 (OFBIZ-12400)

Upgrades Groovy from 2.5.18 to 3.0.13 (no longer compile issue, UI tests OK)

Thanks: Ioan Eugen Stan for testing


> Upgrade to gradle 7.6 - support jdk 11 -> 17
> 
>
> Key: OFBIZ-12400
> URL: https://issues.apache.org/jira/browse/OFBIZ-12400
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Ioan Eugen Stan
>Assignee: Ioan Eugen Stan
>Priority: Major
>
> For working with Java 17, we need to upgrade to gradle 7.3 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)