Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8125514

Generated extension jnlp is malformed if it refers to more than one jar

    XMLWordPrintable

    Details

      Backports

        Description

        Reported in https://forums.oracle.com/forums/thread.jspa?threadID=2438225&tstart=0

        Code like:

        <fx:deploy extension="true" outdir="${application.dist}" outfile="BouncyCastle">
           <fx:resources>
              <fx:fileset dir="${application.dist}" includes="lib/bc*.jar"/>
           </fx:resources>
        </fx:deploy>

        will generate malformed XML

        <?xml version="1.0" encoding="utf-8"?>
        <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="BouncyCastle.jnlp">
          <information>
            <title>Sample JavaFX Application</title>
            <vendor>Unknown vendor</vendor>
            <description>Sample JavaFX 2.0 application.</description>
          </information>
          <resources> <jar href="lib/bcmail-jdk14-1.38.jar" size="192797" download="eager" />
          <resources> <jar href="lib/bcmail-jdk14-138.jar" size="192797" download="eager" />
          <resources> <jar href="lib/bcmail-jdk16-1.46.jar" size="502242" download="eager" />
          <resources> <jar href="lib/bcprov-jdk14-1.38.jar" size="1552230" download="eager" />
          <resources> <jar href="lib/bcprov-jdk14-138.jar" size="1552230" download="eager" />
          <resources> <jar href="lib/bcprov-jdk16-1.46.jar" size="1877314" download="eager" />
          <resources> <jar href="lib/bctsp-jdk14-1.38.jar" size="23756" download="eager" />
          </resources>
        <component-desc/>
          <update check="background"/>
        </jnlp>

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                igor Igor Nekrestyanov (Inactive)
                Reporter:
                igor Igor Nekrestyanov (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported: