openwhisk-cli icon indicating copy to clipboard operation
openwhisk-cli copied to clipboard

can't run gradlew on ubuntu 16

Open csantanapr opened this issue 7 years ago • 3 comments

I'm trying to update Vagrant process in openwhisk core repo and trying to build the CLI for all platforms

I git clone this repo and then try to run gradle commands I get the same error

vagrant@ubuntu-xenial:~/openwhisk-cli$ ./gradlew compile

FAILURE: Build failed with an exception.

* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type CrossBuildFileHashCache using BuildSessionScopeServices.createCrossBuildFileHashCache().

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 0s
vagrant@ubuntu-xenial:~/openwhisk-cli$

csantanapr avatar Apr 13 '18 22:04 csantanapr

vagrant@ubuntu-xenial:~/openwhisk-cli$ ./gradlew --console=plain releaseBinaries

FAILURE: Build failed with an exception.

* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type CrossBuildFileHashCache using BuildSessionScopeServices.createCrossBuildFileHashCache().

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 0s

csantanapr avatar Apr 13 '18 22:04 csantanapr

In general, building the CLI should not require a clone of incubator-openwhisk. To run the CLI tests, that will require the incubator-openwhisk test framework.

mdeuser avatar Apr 15 '18 23:04 mdeuser

Is this still an issue?

rabbah avatar Feb 24 '19 15:02 rabbah