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

fx:jar task with multiple filesets overrides folders in jar instead of merging them

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: deploy
    • Environment:

      b42

      Description

      run "ant test-dist" in the attached project (update ant-javafx.jar in the root, attached version has one from b42)

      this target run jar and fx:jar with next filesets:
                  <fileset dir="build/classes"/>
                  <fileset dir="resources"/>

      review generated jars in dist folder:
      note that fxjar version doesn't have file fxsqe/TheTest.class, because it was erroneously overriden by resources/fxsqe folder, see log:

      $ jar -tf dist/FXPluginApp-jar.jar
      META-INF/
      META-INF/MANIFEST.MF
      fxsqe/
      fxsqe/TheTest.class
      fxsqe/car.png

      $ jar -tf dist/FXPluginApp-fxjar.jar
      META-INF/
      META-INF/MANIFEST.MF
      fxsqe/
      fxsqe/car.png
      com/
      com/javafx/
      com/javafx/main/
      com/javafx/main/Main$1.class
      com/javafx/main/Main.class
      com/javafx/main/NoJavaFXFallback.class

        Attachments

          Activity

            People

            • Assignee:
              igor Igor Nekrestyanov (Inactive)
              Reporter:
              sgrinev Sergey Grinev (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: