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

Java binding v1: Invalid file/directory names for Windows in JAR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 6172

      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).

            Unassigned Unassigned
            vrpolak Vratko Polak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: