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

Correct Example 5-6 in Packaging Basics of the Deployment Guide

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 7u10
    • 7u10
    • docs

    Description

      User's feedback:
      I'd like to send You my opinion about the code snippet Example 5-6 Packaging Native Libraries into JAR Files.
      In this snippet I think there is several small errors. It would be fine If You verify this.
      1) :
          <fx:jar destfile="${basedir}/build/native-libs-win-x86.jar"
          basedir="native/windows/x86" includes="*"/>
      In fact we do not have basedir attribute in reference and also in sdk. I was forced to do sth like this :
          <fx:jar destfile="${basedir}/build/native-libs-win-x86.jar">
            <fx:fileset dir="${basedir}/natives/windows/x86" includes="*"/>
          </fx:jar>

      Igor:
      checked code and there is no basedir attribute on fx:jar

      there is basedir on fx:fileset but in this case it simply should be <jar> and not <fx:jar>.
      Please fix the sample.

      Attachments

        Activity

          People

            dkostova Dmitry Kostovarov (Inactive)
            dkostova Dmitry Kostovarov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: