kryptt / play2-native-packager-plugin Goto Github PK
View Code? Open in Web Editor NEWPlay Framework Plugin for producing native system distribution packages
Play Framework Plugin for producing native system distribution packages
Hi,
Packaging and installing works fine. But the actual project structure is
+ /var/lib/my-app
+ my-app-version.jar
+ start
+ README
+ lib/<all-dependencies>
I cannot start the application as the start script searches only inside the lib
folder. If I move the my-app-version.jar
everything works. Unfortunatly I wasn't able to figure out the code were this is done :(
thanks,
Muki
We would like to create different packages for different deployment types for our application. The only difference between package A and package B will be a bunch of settings in application.conf. As such we have a few different application.conf files. Is there a simple way to do this now?
I see that the start script has some mechanisms for pulling from the global config, but I would prefer to do something like the following in my sbt build file with something like 'configFileToUse' below.
val PackageA = natPackSettings ++ Seq(
maintainer := "worms" ,
packageSummary := "worms package for big machines",
packageDescription := "desc",
userName := "worms",
groupName := "worms",
configFileToUse := "conf/big.application.conf")
I would then have 4 of these and use sbt to build 4 different packages.
I have some code hacked up that I can push up for perusing, but I am really not happy with it. Can you provide some direction on how you would go about it?
Thanks
It would be nice to have this project updated to the latest Scala and SBT version. This project is awesome to automatically deploy play applications.
Hi I can't load your plugin from maven central as described in the readme. I did a search for
net.kindleit.play2-native-packager-plugin in both Mvnrepository and search.maven.org without finding it. Is it published?
Would be great.
The user if indeed configurable but the group is hardcoded.
... -> format("/var/lib/%s/%s", name, pkg.getName)) withUser(name) withGroup("adm")
In worst case, the user's group should be identical,
... -> format("/var/lib/%s/%s", name, pkg.getName)) withUser(name) withGroup(name)
In best case, it should be externalized.
... -> format("/var/lib/%s/%s", name, pkg.getName)) withUser(name) withGroup(groupName)
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.