Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-233

Java Binding v2: Invalid file/directory names for Windows in JAR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 7834

      +++ This bug was initially created as a clone of MDSAL-185 +++

      Some innocuous identifiers can lead to maven-bundle-plugin refusing to create the final jar file.

      For example:

      container con {
      }

      Leads to:

      [ERROR] Bundle <...> : Invalid file/directory names for Windows in JAR: [<...>]. You can set the regular expression used with -invalidfilenames, the default expression is CON(\..)?|PRN(\..)?|AUX(\..)?|CLOCK\$|NUL(\..)?|COM[1-9](\..)?|LPT[1-9](\..)?|\$Mft|\$MftMirr|\$LogFile|\$Volume|\$AttrDef|\$Bitmap|\$Boot|\$BadClus|\$Secure|\$Upcase|\$Extend|\$Quota|\$ObjId|\$Reparse
      [ERROR] Error(s) found in bundle configuration

      It should be possible to use a less restrictive pattern (after verifying it on Windows).

            jakubtoth-0 Jakub Toth
            martin.ciglan Martin Ciglan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: