Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8178442 JEP 311: Java Packager API & CLI
  3. JDK-8187897

For ant-java.jar, <bundleArgument arg=...> should accept only new arguments

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Delivered
    • P3
    • 10
    • None
    • deploy

    Description

      Currently we use internal arg ids for specifying bundleArguments.
      For example,
              <fx:bundleArgument arg="mainJar" value="hello.world.jar"/>
              <fx:bundleArgument arg="win.exe.systemWide" value="true"/>
              <fx:bundleArgument arg="signBundle" value="true"/>

      We shouldn't allow users to use internal argument ids. Instead, they will need to use new arguments ids (without "--"), like this:
              <packager:bundleArgument arg="main-jar" value="hello.world.jar"/>
              <packager:bundleArgument arg="system-wide" value="true"/>
              <packager:bundleArgument arg="sign" value="true"/>

      In case the value specified for "arg" is not new arg id, we need to show a warning and ignore it.

      Attachments

        Activity

          People

            almatvee Alexander Matveev
            vdrozdov Victor Drozdov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: