Griffon

Add '-jar' switch to package for one big jar

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.1.2
  • Fix Version/s: 0.1.2
  • Component/s: cli
  • Labels:
    None
  • Number of attachments :
    0

Description

The Java Store currently requires all applications to be shipped in one big jar, but Griffon currently keeps the jars in as-provided form.

To support the Java Store requirement a new '-jar' option has been added to the Pacakge script. This option will cause all of the packaged jars to be placed in a single big jar. if there is no argument to the jar option, the big jar will be the application jar. Otherwise the target jar will be the location. For an application called 'Sample'

griffon package -jar

will make the big jar as staging/Sample.jar (which is normally where a smaller jar would be) whereas

griffon package -jar=./SampleForStore.jar

will make the big jar as ./SampleForStore.jar, which usually doesn't exist.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: