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

Create script to package application into a distribution [PAXCONSTRUCT-91] #38

Open
ops4j-issues opened this issue Dec 15, 2008 · 1 comment
Labels

Comments

@ops4j-issues
Copy link

CraigC created PAXCONSTRUCT-91

Once a Pax-Construct project has been developed, it'd be nice to have a script that builds everything and packages the bundles in a ZIP file, along with Pax Runner, for an unzip-and-run distribution of the application. Or, if this is just a collection of bundles (not necessarily an application), just zip up the built bundles for distribution.


Votes: 0, Watches: 0

@ops4j-issues
Copy link
Author

Mike Smoot commented

I've just added a new goal, "pax:package", that builds on an option I added to pax-runner. The --executor=script option for pax-runner generates shell and batch scripts in the runner directory, making the runner directory an entirely self contained application (see PAXRUNNER-177 for more detail). The pax:package goal simply executes pax-runner with the --executor=script option and then zips the resulting runner directory.

So, while this exists as a proof-of-principle, we should probably consider refactoring this into a normal maven assembly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant