You can skip the licenseMain task in gradle using -x licenseMain.

I mean it's fine if you are testing it now.

Rest is in your hands

On Thu, 5 Dec 2019, 13:17 Juhan Aasaru, <aas...@gmail.com> wrote:

> Windows should be fine, you should get everything working on that.
> Michael has a little typo, you need to use
>
> ./gradlew (or ./gradlew.bat)
>
> insead of "gradle".
>
> You probably have Gradle 5 in your path which is not compatible (run
> "gradle --version" to see what version you have).
> Also if you absolutely want to use locally installed Gradle instead of
> Gradle Wrapper (gradlew)
> - sometimes I have done this with IntelliJ not using Gradle Wrapper for
> some reason
> then you need to download gradle 4.10.3 to your local computer and make
> changes to the Path variable so that when you type
> "gralde --version" it reports this version number.
>
> Juhan
>
> Kontakt Michael Vorburger (<m...@vorburger.ch>) kirjutas kuupäeval N, 5.
> detsember 2019 kell 08:39:
>
>> These error messages look like they could be caused by a mismatch in
>> Gradle version.
>>
>> Instead of installing Gradle yourself and using "gradle" as the command,
>> try using ./gradlewt to see if that helps?
>>
>>
>> On Wed, Dec 4, 2019 at 2:07 PM Rohit Jain <rohit.j...@esgyn.com> wrote:
>>
>>> No changes.  I am following the build guidelines as outlined on that web
>>> page.
>>>
>>>
>>>
>>> *From:* Victor Romero <victor.rom...@fintecheando.mx>
>>> *Sent:* Wednesday, December 4, 2019 3:56 PM
>>> *To:* dev@fineract.apache.org
>>> *Subject:* Re: Fineract build
>>>
>>>
>>>
>>> External
>>>
>>> Hi Rohit,
>>>
>>>
>>>
>>> That is not related to Operating System issues.
>>>
>>>
>>>
>>> It is Fineract-CN code itself. Have you done any change or is a fresh
>>> clone ?
>>>
>>>
>>>
>>> Regards
>>>
>>>
>>>
>>> Victor
>>>
>>> El 4 de diciembre de 2019 a las 10:56 AM Rohit Jain <
>>> rohit.j...@esgyn.com> escribió:
>>>
>>> When I started to build using the instructions on
>>> https://cwiki.apache.org/confluence/display/FINERACT/How+To+Build+Apache+Fineract+CN,
>>> I followed the recommended *option 1* in * Step 2: Get Program Code*
>>> and ran into some issues when I ran gradle build (remember, I am trying to
>>> do this on a Windows laptop – probably not the ideal environment, and
>>> perhaps I should find a Linux build environment, although we don’t really
>>> use Ubuntu):
>>>
>>> ·         I ran into:
>>> java.lang.NoClassDefFoundError:
>>> org.gradle.api.internal.ClosureBackedAction
>>> Found that I needed to add the following in *plugins* to the
>>> build.gradle file to resolve that:
>>> id "io.spring.dependency-management" version "1.0.8.RELEASE"
>>>
>>> ·         However, I then got an error:
>>> java.lang.NoClassDefFoundError:
>>> io/spring/gradle/dependencymanagement/DependencyManagementExtension
>>> Found that I needed to modify the id "org.springframework.boot" in
>>> build.gradle *plugins* to version "1.5.21.RELEASE"
>>>
>>> ·         Then it looked really promising.  But then I got an error:
>>> org.gradle.api.tasks.TaskExecutionException: Execution failed for task
>>> ':licenseMain'
>>> This was ultimately resolved by adding the following lines to the
>>> *license* section of the build.gradle file:
>>> skipExistingHeaders true
>>> ignoreFailures true
>>> and adding the following lines before the license section
>>> gradle.startParameter.excludedTaskNames += "licenseMain"
>>> gradle.startParameter.excludedTaskNames += "licenseTest"
>>>
>>>
>>>
>>> Don’t know how relevant this is to the rest of the community for builds
>>> done on Ubuntu, the preferred OS.  So, it is up to you guys to decide
>>> whether you want to create a JIRA to rectify some or all of this, or ignore
>>> it.
>>>
>>>
>>>
>>> Rohit
>>>
>>>
>>>
>>>
>>

Reply via email to