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

Ensemble jar file contains duplicate, and misnamed, files in META-INF

XMLWordPrintable

      The Ensemble8.jar file produced by our build has duplicate LICENSE.txt and NOTICE.txt files copied from the two Lucene jar files:

      $ jar tvf Ensemble8.jar
      ...
       16098 Mon May 30 22:52:10 PDT 2011 META-INF/LICENSE.txt
        4766 Mon May 30 22:52:10 PDT 2011 META-INF/NOTICE.txt
       16098 Mon May 30 22:52:10 PDT 2011 META-INF/LICENSE.txt
        4766 Mon May 30 22:52:10 PDT 2011 META-INF/NOTICE.txt

      In addition to the problem if having more than one file of the same name (e.g., signing or any other operation that unpacks the file won't work), the name is misleading. These files do not contain the LICENSE and NOTICE for Ensemble itself, but for the embedded Lucene software.

      We need to remove the duplicates and rename the single files to LUCENE_LICENSE.TXT and LUCENE_NOTICE.TXT, respectively.

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: