Topics

Gradle command failing OS X

Michael Hodges
 

The "./gradlew shadowJar” command for installing Cuebot from source on OS X fails with the following error:


MyComputer:~ MyUser$ cd /Users/MyUser/OpenCue/cuebot
MyComputer:cuebot MyUser$ ./gradlew shadowJar
Starting a Gradle Daemon (subsequent builds will be faster)
<-------------> 0% INITIALIZING [52ms]
> IDLE

FAILURE: Build failed with an exception.

* What went wrong:
Task 'shadowJar' not found in root project ‘cuebot'




I read this might be related to too knew a version of Java so I've installed Java8 via Homebrew as Java8 seemed to help on Centos.

MyComputer:~ MyUser$ java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b08)
Eclipse OpenJ9 VM (build openj9-0.18.1, JRE 1.8.0 Mac OS X amd64-64-Bit Compressed References 20200122_439 (JIT enabled, AOT enabled)
OpenJ9 - 51a5857d2
OMR - 7a1b0239a
JCL - 8cf8a30581 based on jdk8u242-b08)



Unfortunately, that did not resolve it.

Am I missing something?
Any thoughts or suggestions?

Larry Gritz
 

Might be more direct to ask this question on one of the opencue specific mail lists?


On Thu, Apr 16, 2020 at 8:53 AM Michael Hodges <michael@...> wrote:
The "./gradlew shadowJar” command for installing Cuebot from source on OS X fails with the following error:


        MyComputer:~ MyUser$ cd /Users/MyUser/OpenCue/cuebot
        MyComputer:cuebot MyUser$ ./gradlew shadowJar
        Starting a Gradle Daemon (subsequent builds will be faster)
        <-------------> 0% INITIALIZING [52ms]
        > IDLE

        FAILURE: Build failed with an exception.

        * What went wrong:
        Task 'shadowJar' not found in root project ‘cuebot'




I read this might be related to too knew a version of Java so I've installed Java8 via Homebrew as Java8 seemed to help on Centos.

        MyComputer:~ MyUser$ java -version
        openjdk version "1.8.0_242"
        OpenJDK Runtime Environment (build 1.8.0_242-b08)
        Eclipse OpenJ9 VM (build openj9-0.18.1, JRE 1.8.0 Mac OS X amd64-64-Bit Compressed References 20200122_439 (JIT enabled, AOT enabled)
        OpenJ9   - 51a5857d2
        OMR      - 7a1b0239a
        JCL      - 8cf8a30581 based on jdk8u242-b08)



Unfortunately, that did not resolve it.

Am I missing something?
Any thoughts or suggestions?






--
Larry Gritz
lg@...

Michael Hodges
 

Ha sorry.

Thought I was.

Typical first time poster.

Thanks Larry.

On Apr 16, 2020, at 12:04 PM, Larry Gritz <lg@...> wrote:

Might be more direct to ask this question on one of the opencue specific mail lists?


On Thu, Apr 16, 2020 at 8:53 AM Michael Hodges <michael@...> wrote:
The "./gradlew shadowJar” command for installing Cuebot from source on OS X fails with the following error:


        MyComputer:~ MyUser$ cd /Users/MyUser/OpenCue/cuebot
        MyComputer:cuebot MyUser$ ./gradlew shadowJar
        Starting a Gradle Daemon (subsequent builds will be faster)
        <-------------> 0% INITIALIZING [52ms]
        > IDLE

        FAILURE: Build failed with an exception.

        * What went wrong:
        Task 'shadowJar' not found in root project ‘cuebot'




I read this might be related to too knew a version of Java so I've installed Java8 via Homebrew as Java8 seemed to help on Centos.

        MyComputer:~ MyUser$ java -version
        openjdk version "1.8.0_242"
        OpenJDK Runtime Environment (build 1.8.0_242-b08)
        Eclipse OpenJ9 VM (build openj9-0.18.1, JRE 1.8.0 Mac OS X amd64-64-Bit Compressed References 20200122_439 (JIT enabled, AOT enabled)
        OpenJ9   - 51a5857d2
        OMR      - 7a1b0239a
        JCL      - 8cf8a30581 based on jdk8u242-b08)



Unfortunately, that did not resolve it.

Am I missing something?
Any thoughts or suggestions?






--
Larry Gritz
lg@...