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

Flatten out jpackager packages and resources.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • internal
    • internal
    • tools

    Description

      1.) There are extra <platform> directories in the path to all native dependent source files we should remove such as:
      jdk.jpackager/windows/classes/jdk/jpackager/internal/windows -> jdk.jpackager/windows/classes/jdk/jpackager/internal
      2.) we have a "builders" sub-directory in wach platform dependent source directory with only one file in it. We should remove them for example:
      jdk.jpackager/windows/classes/jdk/jpackager/internal/builders/windows/WindowsAppImageBuilder.java -> jdk.jpackager/windows/classes/jdk/jpackager/internal/WindowsAppImageBuilder.java
      3.) we have builders directory in share as well with only one file, AbstractAppImageBuilder.java. we should move that up to internal with all the other files.
      4.) we have bundlers sub-directory also in share code with only two files, there is no reason not to move that up also.
      5.) with all of the above, we need to move the relates resource files.
      6.) speaking of resource files there, are 66 of them. Every source file uses it's own resource file (3 after translation), resulting in duplicate resources when a string is used by multiple source. We should group these together in a smaller group of resource files.

      Attachments

        Issue Links

          Activity

            People

              herrick Andy Herrick (Inactive)
              herrick Andy Herrick (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: