You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating bundles with JDKPackager (tried for .app, .dmg and .pkg on OSX), resources defined in mappings, defined as follows, are not included in the final bundle:
// Tried also 'in JDKPackager'
mappings in Universal ++= {
val configDir = sourceDirectory.value/"main"/"resources"
for {
file <- (configDir ** AllPassFilter).get
relative <- file.relativeTo(configDir.getParentFile)
mapping = file -> relative.getPath
} yield mapping
}
Since there is no key in com.typesafe.sbt.packager.jdkpackager.JDKPackagerKeys for fx:resource I assumed resource mapping should be inherited from Universal plugin. However, created bundles do not contain the specified resources directory. Is there another way to achieve that?
The text was updated successfully, but these errors were encountered:
Take this with a grain of salt, as it's been a while since I've looked into it, but the javapackager API itself does not provide a clear way of delivering additional files with your .dmg or .pkg image. It's possible to get things located inside the .app bundle, but that's usually not what you want. On Windows javapackager has more flexibility, but I can't remember if it requires an override of the WiX/Inno files, or if it just "does the right thing".
One thing that would help get us toward a solution would be a scripted test to build a solution against.
When creating bundles with JDKPackager (tried for .app, .dmg and .pkg on OSX), resources defined in mappings, defined as follows, are not included in the final bundle:
Since there is no key in
com.typesafe.sbt.packager.jdkpackager.JDKPackagerKeys
forfx:resource
I assumed resource mapping should be inherited from Universal plugin. However, created bundles do not contain the specified resources directory. Is there another way to achieve that?The text was updated successfully, but these errors were encountered: