JeremyYao commented on PR #1363:
URL: https://github.com/apache/daffodil-vscode/pull/1363#issuecomment-3246868537
@hdalsania, the CI is throwing errors about licenses for the .png files.
In project/Rat.scala, you'll see
```Scala
lazy val excludes = Seq(
// git files
file(".git"),
// metals generated directory
file(".metal"),
// vscode-test generated directory
file(".vscode-test"),
// version file does not contain a license header
file("VERSION"),
/** Can't add license headers in JSON files. Adding a license attribute
breaks things in some of these files as
* well.
*/
file("language/dfdl.json"),
file("language/tdml.json"),
file("language/syntax.json"),
file("language/syntaxes/dfdl.tmLanguage.json"),
file("language/syntaxes/tdml.tmLanguage.json"),
file("package.json"),
file("svelte/package.json"),
file(".prettierrc"),
file("svelte/.prettierrc"),
file("build/license_data.json"),
// ignore images - daffiodil.ico
file("images/daffodil.ico"),
// yarn and rpm generated files
file("yarn.lock"),
file("svelte/yarn.lock"),
file("package-lock.json"),
file("svelte/package-lock.json"),
// files listing packages with no license or notice
file("build/package/NOLICENSE"),
file("build/package/NONOTICE"),
file("src/tests/data/test.txt"),
file("debugger/src/test/data/emptyData.xml"),
file("debugger/src/test/data/emptyInfoset.xml"),
file("debugger/src/test/data/notInfoset.xml"),
file("debugger/src/test/data/emptySchema.dfdl.xsd"),
// svelte icons/fonts
file("src/svelte/src/resources/icons/material-icons.woff2"),
file("src/svelte/src/resources/fonts/SpaceGrotesk-Variable.woff2"),
file("src/svelte/src/resources/fonts/RedHatMono-Regular.woff2"),
// scalafmt-core files
file(".git-blame-ignore-revs")
)
```
Try changing it to
```Scala
lazy val excludes = Seq(
// git files
file(".git"),
// metals generated directory
file(".metal"),
// vscode-test generated directory
file(".vscode-test"),
// version file does not contain a license header
file("VERSION"),
/** Can't add license headers in JSON files. Adding a license attribute
breaks things in some of these files as
* well.
*/
file("language/dfdl.json"),
file("language/tdml.json"),
file("language/syntax.json"),
file("language/syntaxes/dfdl.tmLanguage.json"),
file("language/syntaxes/tdml.tmLanguage.json"),
file("package.json"),
file("svelte/package.json"),
file(".prettierrc"),
file("svelte/.prettierrc"),
file("build/license_data.json"),
// yarn and rpm generated files
file("yarn.lock"),
file("svelte/yarn.lock"),
file("package-lock.json"),
file("svelte/package-lock.json"),
// files listing packages with no license or notice
file("build/package/NOLICENSE"),
file("build/package/NONOTICE"),
file("src/tests/data/test.txt"),
file("debugger/src/test/data/emptyData.xml"),
file("debugger/src/test/data/emptyInfoset.xml"),
file("debugger/src/test/data/notInfoset.xml"),
file("debugger/src/test/data/emptySchema.dfdl.xsd"),
// svelte icons/fonts
file("src/svelte/src/resources/icons/material-icons.woff2"),
file("src/svelte/src/resources/fonts/SpaceGrotesk-Variable.woff2"),
file("src/svelte/src/resources/fonts/RedHatMono-Regular.woff2"),
// scalafmt-core files
file(".git-blame-ignore-revs")
) ++ {
// images
val dir = new File("images")
if (dir.exists && dir.isDirectory) dir.listFiles().toSeq
else Seq.empty
}
```
and seeing if this works?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]