play2-native-packager-plugin icon indicating copy to clipboard operation
play2-native-packager-plugin copied to clipboard

Using play 2.2 support for native package

Open muuki88 opened this issue 11 years ago • 3 comments

Play 2.2 comes with sbt-native-packer out of the box. However you have to configure everything yourself, which is not very comfortable.

Could the next version of this plugin just provide the default configuration? This would be awesome.

muuki88 avatar Sep 20 '13 18:09 muuki88

Yes, I too read about the new out-of-the-box feature!

Luckily such a reduction should just mean removing some unnecessary pieces... you up for submitting that pull request ?

kryptt avatar Sep 20 '13 22:09 kryptt

I will try today, cause I really need to get my head around the sbt-native-packager plugin.

muuki88 avatar Sep 21 '13 07:09 muuki88

The default structure the sbt-native-packer plugin creates looks as follows:

  • /etc/<appName><version> -> /usr/share/<appName>/conf
  • /usr/share/bin/<appName> -> ../share/<appName>-<version>/bin/<appName> (in lowercase)
  • /usr/share/<appName>-<version>/
    • README
    • bin/
    • conf/application.conf
    • lib/
    • share/doc/api/

I try to use this structure.

muuki88 avatar Sep 21 '13 08:09 muuki88