Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-53

Adopt the standard Java SPI interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0
    • core
    • None

    Description

      The SPI implemented in WHIRR-47 makes it difficult to generate a executable JAR (for a CLI in WHIRR-33) since the whirr.properties files clobber each other. By implementing an SPI described in http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Service%20Provider (or http://java.sun.com/j2se/1.4.2/docs/guide/sound/programmer_guide/chapter13.html) we can use the Maven Shade plugin to produce an executable JAR which avoids this problem (see http://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html).

      Attachments

        1. WHIRR-53.patch
          20 kB
          Thomas White

        Issue Links

          Activity

            People

              tomwhite Thomas White
              tomwhite Thomas White
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: