Griffon
  1. Griffon
  2. GRIFFON-39

improve extensions section in Config.groovy

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cli
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Right now the extensions section in Config.groovy only accepts URLs for Jars and JNLP files. There are other attributes the user may want to tweak, for example:

      <jar href="we already have" version="ver" main="true" download="eager" size="1234" part="part"/>
      <extension href="href" version="ver" name="name">
      <ext-download part="ours" ext-part="theirs" download="lazy"> *
      </extension>

      let's leave nativelib out of this, since it maps wierdly to the currently way of doing things.

      My thought....

      griffon.extensions {
        jogl {
          type = "jnlp"
          href = "http://dl.javafx.com/jogl.jnlp"
          version="1.1.1"
        }
        unusedName { // the group name does not show up in the jnlp
          type = "jnlp|jar" // type is pulled out, either jar or jnlp
          href = "http://dl.javafx.com/jogl.jnlp" // all remaining values are just jammed in as attributes as-is
          version="1.1.1"
        }
      }

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Danno Ferrin
            Reporter:
            Danno Ferrin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: