You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2020/12/15 14:57:00 UTC
[jira] [Closed] (DAFFODIL-2430) ratCheck fails when run from the
sbt console
[ https://issues.apache.org/jira/browse/DAFFODIL-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Thompson closed DAFFODIL-2430.
-----------------------------------
Verified the specified commits (commit 064d7b8655137da437a973331b7c99b039711b80 and ab8654e8efffe87ac7e224edaca4c6954d40b9a8) are included in the latest pull from the incubator-daffodil repository.
Verified that the ratCheck now successfully executes when run from the sbt console.
> ratCheck fails when run from the sbt console
> --------------------------------------------
>
> Key: DAFFODIL-2430
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2430
> Project: Daffodil
> Issue Type: Bug
> Components: Infrastructure
> Reporter: Steve Lawrence
> Assignee: Steve Lawrence
> Priority: Major
> Fix For: 3.1.0
>
>
> If you run the rat check using the sbt console, the ratCheck command fails with the following:
> {code:java}
> $ sbt
> sbt:daffodil> ratCheck
> [error] Unapproved licenses found: 1. See full report in .../daffodil.git/target/rat.txt
> [error] (ratCheck) org.musigma.sbt.rat.SbtRatCheck$UnapprovedLicenseException: Unapproved licenses
> [error] Total time: 2 s, completed Nov 4, 2020 11:07:15 AM
> {code}
> This happens because the sbt console generates a {{.bsp}} directory with unlicensed files in it, and the ratCheck finds these files and errors. The ratCheck command is supposed to ignore files listed in .gitingore, and .bsp is listed, so it should ignore this file. Need to figure out why it's not being ignored so that we can run ratCheck from the sbt console.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)