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

[Feature Request] Universal plugin, directory output format #1061

Closed
woky opened this issue Nov 3, 2017 · 1 comment
Closed

[Feature Request] Universal plugin, directory output format #1061

woky opened this issue Nov 3, 2017 · 1 comment
Labels
documentation Documentation should be extended or updated universal Zip, tar.gz, tgz and bash issues

Comments

@woky
Copy link

woky commented Nov 3, 2017

Currently it's possible to package application in various types of archives. Universal plugin should also support just creating a directory and skip the archiving step.

Use case: I develop on my local PC and test on remote host. Libraries don't change much. I can use rsync to sync changes in local application (one jar most of the time) to the remote. But currently I have to unpack the archive every time I want to upload my changes. It's waste of resources and time to pack/unpack every time I need to upload the changes.

I realize that this is not the typical use case for a packager plugin, but it'd useful and the plugin could do it easily (it does it already behind the scenes). Sometimes, it's not necessary to use an archive. In the end the archive will be unpacked anyway.

EDIT: sbt-pack works well for my case.

@muuki88
Copy link
Contributor

muuki88 commented Nov 3, 2017

Hi @woky

Thanks for your feature request. This is actually already available via the stage task.
It generates an output directory target/universal/stage where all files are simply laid out.

Maybe you could add a small section in the UniversalPlugin Format documentation for future users :)

@muuki88 muuki88 closed this as completed Nov 3, 2017
@muuki88 muuki88 added documentation Documentation should be extended or updated universal Zip, tar.gz, tgz and bash issues labels Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation should be extended or updated universal Zip, tar.gz, tgz and bash issues
Projects
None yet
Development

No branches or pull requests

2 participants