-
Notifications
You must be signed in to change notification settings - Fork 445
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
System Loader scripts are not being generated #869
Comments
Your configuration is correct. Your sbt command isn't :) with Generate a debian or rpm file with
The generated |
Ah. I see. I was hoping that just enabling the right plugin would automagically tell the pluing to generate the right scripts 😛 . thank you for your help. I installed the rpm and rpm-build packages but now I get the error below:
I tried:
but it still gives me the error. Not sure what I am missing now? |
Tested a bit more and turns out that the exact build script works perfectly on Fedora and fails on Mac OS. Not sure if building an RPM is supported on Mac OS? https://github.com/MojoJojo/sbt-native-packager-test |
Okay, seems like I figured it out. A root project has to be defined with the correct
Now it gives the following errors:
Permission issue perhaps? |
Oh..guess I can safely ignore this one? #103 |
You still have to tell sbt what package you want to generate ;) By enabling the
Yes, rpm outputs are printed via stderr :(
Hm. Not really. Your example looks good. This is a minimal example from native-packager.
We try to, but the main goal of native-packager is provide a working build on the native platform ( in this case Fedora/RHEL/CentOS) |
Thank you for the quick responses and the support. Much appreciated. I cloned the repository and the minimal example and tried to build it:
You are right about the root project, but it still requires |
Interesting. Thanks for testing. What version of |
Followed the documentation at offical page and created a new simple scala project (Mac OS) with the following:
plugins.sbt:
build.sbt:
src/main/scala/Hello.scala:
when I run
sbt packageBin
I get a zip file with a bash script to run the java server application but no script to install/uninstall the SystemV service. Am I missing something or is there something wrong with the plugin?Edit: Link to git repo: https://github.com/MojoJojo/sbt-native-packager-test
The text was updated successfully, but these errors were encountered: