These are chat archives for sbt/sbt-native-packager

9th
Sep 2015
Nepomuk Seiler
@muuki88
Sep 09 2015 05:58
Can you post your build.sbt? Possible causes could be
  • no maintainer
  • native dpkg version is too old
  • try using jdeb
Fayi Femi-Balogun
@fayimora
Sep 09 2015 08:50
@muuki88 my build.sbt looks like this: https://gist.github.com/fayimora/159707d51d9cc3278fae
iinstalled dpkg using homebrew, v1.18.2
Greg BOUGEARD
@gbougeard
Sep 09 2015 10:13
I think you cannot generate debian package on a MacOs
Fayi Femi-Balogun
@fayimora
Sep 09 2015 10:38
@gbougeard i was begining to think the same.
Greg BOUGEARD
@gbougeard
Sep 09 2015 10:39
because you don’t only need dpkg but fakeroot and other stuff
Fayi Femi-Balogun
@fayimora
Sep 09 2015 10:39
yh i installed fakeroot
Although enablePlugins(JDebPackaging) seems to package the app
so both the javaserver and jdeb plugins
Greg BOUGEARD
@gbougeard
Sep 09 2015 10:40
I did not try this one but it might work if it does not use binaries
Fayi Femi-Balogun
@fayimora
Sep 09 2015 10:44
i think it packages the jre witht the app though :( as a dependency
Nepomuk Seiler
@muuki88
Sep 09 2015 12:42
@fayimora the jdeb plugin should do the same as the native dpkg. No jre dependencies. It will however package a self-containing application that only needs a JRE environment to run.
I saw you have lot of lib deps so it will get big ;)
Fayi Femi-Balogun
@fayimora
Sep 09 2015 14:34
"It will however package a self-containing application that only needs a JRE environment to run." <= I'm not sure i understand this. aren't all the build types self containing?
Nepomuk Seiler
@muuki88
Sep 09 2015 16:53
yes, all build types are self-containing. Besides the JRE. Only the JdkPackager will include the JRE runtime