Re: gradle build failed, can't install ofbiz

Posted by AJ.345 on
URL: http://ofbiz.116.s1.nabble.com/gradle-build-failed-can-t-install-ofbiz-tp4768830p4768833.html

Jacques Le Roux wrote

> This said, at the moment OFBiz trunk (which is the most advanced branch
> but not recommended in production) is using Gradle 6.5 not Gradle 6.8.3.
> But I
> guess you don't use the trunk.
>
> So, if you are using a released package (last one and recommended being
> 17.12.07) or a not yet released branch (ie R18.12) you need to refer to:
>
> 17.12.07 :
> https://ci.apache.org/projects/ofbiz/site/stable/readme/html5/README.html#download-the-gradle-wrapper
>
> R18.12 branch (next branch to be released):
> https://ci.apache.org/projects/ofbiz/site/next/readme/html5/README.html#download-the-gradle-wrapper
>
> HTH
>
> Jacques
>
>
>> --

Hi Jacques
Thank you for the reply,

I am using apache ofBiz is for my small manufacturing Business, I am not a
developer. but I am an open source enthusiast.

I have entered the commands " ./gradlew cleanAll loadAll " and it worked for
a while and downloaded all dependencies to 100%, but at the end there is an
error "*Task 'cleanAll' not found in root project * ". I have copy pasted
the error message below.
Best wishes!

./gradlew cleanAll loadAll
Downloading https://services.gradle.org/distributions/gradle-6.8.3-bin.zip
..........10%..........20%..........30%...........40%..........50%..........60%..........70%...........80%..........90%..........100%
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use
--status for details

FAILURE: Build failed with an exception.

* What went wrong:
Task 'cleanAll' not found in root project 'ubuntupc'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace
option to get the stack trace. Run with --info or --debug option to get more
log output. Run with --scan to get full insights.

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

BUILD FAILED in 8m 55s




--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html