Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build debian package with JDeb in a Play Project #553

Closed
magnusart opened this issue Apr 15, 2015 · 1 comment
Closed

Unable to build debian package with JDeb in a Play Project #553

magnusart opened this issue Apr 15, 2015 · 1 comment

Comments

@magnusart
Copy link

Hi

When using OSX we cannot force the debian build to use JDeb when having a play project. When we build it prints:

Building debian package with native implementation if we remove the Play plugin dependency we instead get Building debian package with java based implementation 'jdeb'.

To avoid using the play version of sbt-native-packager I evicted it from the plugin, but it did not make any difference: addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.7" exclude("com.typesafe.sbt", "sbt-native-packager"))

It is easy to reproduce:

Using test-project-play-rpm

  1. In build.sbt change from RPM to enablePlugins(JDebPackaging)
  2. In activator run debian:packageBin and you should see the output Building debian package with native implementation
  3. In build.sbt comment out the line enablePlugins(PlayScala)
  4. In activator run debian:packageBin again and you will now see the output Building debian package with java based implementation 'jdeb' (not much gets build however).
@muuki88
Copy link
Contributor

muuki88 commented Apr 15, 2015

Duplicate with #407 #499

@muuki88 muuki88 closed this as completed Apr 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants