Giter Club home page Giter Club logo

play2-native-packager-plugin's People

Contributors

eamelink avatar kryptt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

play2-native-packager-plugin's Issues

Start script doesn't work

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

Easily specify application.conf file

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

Update to Scala 2.10 and SBT 0.12.2

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.

Unresolved dependency, not found in Maven Central

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?

User and group should be configurable

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)

Using play 2.2 support for native package

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.