Skip to content

Commit

Permalink
Update the reflection config while dealing with the metadata-extractor
Browse files Browse the repository at this point in the history
While this is still not the full solution, most of my test files are being
handled properly.

There is still work to be done to get the same behavior than on the JVM.
  • Loading branch information
AlexITC committed Sep 26, 2020
1 parent 781e1f1 commit 8311c82
Show file tree
Hide file tree
Showing 4 changed files with 4,883 additions and 111 deletions.
6 changes: 4 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ lazy val root = (project in file("."))
"-H:+AddAllCharsets"
),
// To generate this file, run "sbt console",
// and then, "net.wiringbits.myphototimeline.util.GenerateNativeReflectionConfig.metadataExtractorReflectConfig"
// Paste the output to the file specified below
// and then, "net.wiringbits.myphototimeline.util.GenerateNativeReflectionConfig.generateConfigFile()"
// That's enough to regenerated the config file.
//
// TODO: Generate such config automatically before building the native image
nativeImageOptions ++= List(
"-H:ReflectionConfigurationFiles=etc/metadata-extractor-reflect-config.json"
),
Expand Down
Loading

0 comments on commit 8311c82

Please sign in to comment.