Pax Construct

Create script to package application into a distribution

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: scripts
  • Labels:
    None

Description

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.

Activity

Hide
Mike Smoot added a comment -

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.

Show
Mike Smoot added a comment - 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: