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

        Danno Ferrin made changes -
        Field Original Value New Value
        Component/s cli [ 13611 ]
        Affects Version/s 0.2 [ 14794 ]
        Fix Version/s 0.2 [ 14794 ]
        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:
        {code}<jar href="we already have" version="ver" main="true" download="eager" size="1234" part="part"/>{code{
        {code}<extension href="href" version="ver" name="name">
        <ext-download part="ours" ext-part="theirs" download="lazy"> *
        </extension>{code}

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

        My thought....

        {code}
        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"
          }
        }
        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:
        {code}<jar href="we already have" version="ver" main="true" download="eager" size="1234" part="part"/>{code{
        {code}<extension href="href" version="ver" name="name">
        <ext-download part="ours" ext-part="theirs" download="lazy"> *
        </extension>{code}

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

        My thought....

        {code}
        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"
          }
        }{code}
        Danno Ferrin made changes -
        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:
        {code}<jar href="we already have" version="ver" main="true" download="eager" size="1234" part="part"/>{code{
        {code}<extension href="href" version="ver" name="name">
        <ext-download part="ours" ext-part="theirs" download="lazy"> *
        </extension>{code}

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

        My thought....

        {code}
        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"
          }
        }{code}
        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:
        {code}<jar href="we already have" version="ver" main="true" download="eager" size="1234" part="part"/>{code}
        {code}<extension href="href" version="ver" name="name">
        <ext-download part="ours" ext-part="theirs" download="lazy"> *
        </extension>{code}

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

        My thought....

        {code}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"
          }
        }{code}
        Danno Ferrin made changes -
        Affects Version/s 0.2 [ 14794 ]
        Fix Version/s 0.2 [ 14794 ]
        Fix Version/s 0.3 [ 15881 ]
        Andres Almiray made changes -
        Fix Version/s 0.3 [ 15881 ]

          People

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

            Dates

            • Created:
              Updated: