You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Alexander Tzvetanov (Jira)" <ji...@apache.org> on 2021/01/02 11:21:00 UTC

[jira] [Comment Edited] (OFBIZ-12100) Gradle build of 17.12.04 crashes on Centos 8

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

Alexander Tzvetanov edited comment on OFBIZ-12100 at 1/2/21, 11:20 AM:
-----------------------------------------------------------------------

Yes, I can confirm.
 The patch worked on my side.
 I found two minor issues however.

The first issue that I found is in the replacing gradlew script.
 It is written in m$ format \r\n that caused bash error.
 Anyway this is minor.
 I only mentioned it for anybody who hits it not to wander what is wrong.

The other issue is in the missing target:

FAILURE: Build failed with an exception.
 * What went wrong:
 Task 'loadDefault' not found in root project 'ofbiz'.

However I am not certain that this target is needed anyway.
 Target ofbiz worked. And this is good.


was (Author: sashoran):
Yes, I can confirm.
The patch worked on my side.
I found two minor issues however.

The first issue that I found is in the replacing gradlew script.
It is written in m$ format \r\n that caused bash error.
Anyway this is minor.
I only mentioned it for anybody who reads about this issue not to wander what is wrong.

The other issue is in the missing target:

FAILURE: Build failed with an exception.

* What went wrong:
Task 'loadDefault' not found in root project 'ofbiz'.

However I am not certain that this target is needed anyway.
Target ofbiz worked. And this is good.

> Gradle build of 17.12.04 crashes on Centos 8
> --------------------------------------------
>
>                 Key: OFBIZ-12100
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12100
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: 17.12.04
>         Environment: CentOS 8
> OpenJDK 1.8
>            Reporter: Alexander Tzvetanov
>            Assignee: Deepak Dixit
>            Priority: Major
>             Fix For: 18.12.01, 17.12.05
>
>         Attachments: gradle_patch.zip
>
>
> Running gradlew under Centos8 with OpenJDK 1.8 (built in).
> ./gradlew cleanAll loadDefault
> FAILURE: Build failed with an exception.
> * Where:
> Build file '/home/midax/sigma/Sigma17/build.gradle' line: 1096
> * What went wrong:
> A problem occurred evaluating root project 'ofbiz'.
> > Could not resolve all dependencies for configuration ':runtime'.
>  > Could not determine artifacts for javax.ws.rs:javax.ws.rs-api:2.1.1
>  > Could not get resource 'https://jcenter.bintray.com/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.$%7Bpackaging.type%7D'.
>  > Could not HEAD 'https://jcenter.bintray.com/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.$%7Bpackaging.type%7D'. Received status code 400 from server: Bad Request
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
> BUILD FAILED
> Total time: 3.747 secs



--
This message was sent by Atlassian Jira
(v8.3.4#803005)