Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8794

AS 6.0 dist zip: File names differing only in letter case

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 6.0.0.Final
    • Fix Version/s: 6.1.0
    • Component/s: Build System
    • Labels:
      None

      Description

      All these files are the same:

      jboss-6.0.0.Final\docs\licenses\GNU Lesser General Public Licence - lgpl.txt
      jboss-6.0.0.Final\docs\licenses\GNU LESSER GENERAL PUBLIC LICENSE - lgpl.txt
      jboss-6.0.0.Final\docs\licenses\GNU Lesser General Public License - lgpl.txt
      jboss-6.0.0.Final\docs\licenses\GNU Lesser General Public License (LGPL), Version 2.1 - lgpl.txt

      More, the first two cause error when extracting on Windows since Windows filesystems consider paths differing in letter cases the same paths.
      I suggest to remove three of the files above.

        Gliffy Diagrams

          Activity

          Hide
          jaikiran jaikiran pai added a comment - - edited

          Created http://jira.codehaus.org/browse/MOJO-1623 since the license download plugin is responsible for generating the license file names.

          Show
          jaikiran jaikiran pai added a comment - - edited Created http://jira.codehaus.org/browse/MOJO-1623 since the license download plugin is responsible for generating the license file names.
          Hide
          jaikiran jaikiran pai added a comment -

          Set the component to "Build System"

          Show
          jaikiran jaikiran pai added a comment - Set the component to "Build System"
          Hide
          pgier Paul Gier added a comment -

          I fixed MOJO-1623 and also MOJO-1624 related to this. I don't think it's possible to eliminate all the duplicates programmatically. For example, one of the above duplicates is due to a spelling error "Licence". However, the two fixed issue should fix the problem extracting the zip file on Windows and eliminate several of the duplicates. The remaining duplicates can be removed by configuring the plugin manually to override the license info picked up in certain POMs.

          Show
          pgier Paul Gier added a comment - I fixed MOJO-1623 and also MOJO-1624 related to this. I don't think it's possible to eliminate all the duplicates programmatically. For example, one of the above duplicates is due to a spelling error "Licence". However, the two fixed issue should fix the problem extracting the zip file on Windows and eliminate several of the duplicates. The remaining duplicates can be removed by configuring the plugin manually to override the license info picked up in certain POMs.
          Hide
          jaikiran jaikiran pai added a comment -

          >> However, the two fixed issue should fix the problem extracting the zip file on Windows and eliminate several of the duplicates.

          Yeah, that should be enough IMO.

          Show
          jaikiran jaikiran pai added a comment - >> However, the two fixed issue should fix the problem extracting the zip file on Windows and eliminate several of the duplicates. Yeah, that should be enough IMO.
          Hide
          pgier Paul Gier added a comment -

          Updated the license-maven-plugin in r110456.
          https://fisheye.jboss.org/changelog/JBossAS/?cs=110456

          Show
          pgier Paul Gier added a comment - Updated the license-maven-plugin in r110456. https://fisheye.jboss.org/changelog/JBossAS/?cs=110456

            People

            • Assignee:
              pgier Paul Gier
              Reporter:
              ozizka Ondrej Zizka
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development