Hi,

The issue you are facing seems to be caused by newly created files not
containing a licence (the comments at the beginning of most files in the
throughout the codebase).

Try resolving with the following command "./gradlew tasks licenseFormatMain
licenseFormatTest licenseFormatIntegrationTest".

If the above command does not work, you can copy and paste the license from
a pre-existing file into the newly created files.

Kelvin

On Thu, May 16, 2019 at 3:50 AM Mua Rachmann <[email protected]> wrote:

> Hello everyone,
>
> I am trying to solve https://issues.apache.org/jira/browse/FINERACT-728 ,
> for this i need to have this PR applied on top
> https://github.com/apache/fineract/pull/515 of which i pulled and checked
> out to a clean branch successfully.
>
> I have issues building. The rat fails with the following message
> MBP-de-MACBOOK:fineract rachmann$ ./gradlew tomcatRunWar
> :rat FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':rat'.
> > Found 10 files with unapproved/unknown licenses. See
> file:/Users/rachmann/Documents/open_source/fineract/fineract/build/reports/rat/rat-report.txt
>
> * 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: 21.705 secs
>
> Here is a the copy of my rat-report.txt file of all the unapproved
> licenses file. I tried with the clean command it still doesn't work.
>
> PS - When i switch back to develop branch it works fine. I would be
> needing this in order to solve my issue any help would be appreciated
>
> Regards,
> Mua
>

Reply via email to