Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7715

Fix windows build if folder has '.(js|htm|etc)' in name

    Details

      Description

      Repro steps

      1. Add folder with 'jquery.jsignature' name and corresponding content to www
      2. cordova build
      3. Observe the following error

      Error: EISDIR, illegal operation on a directory
          at Object.fs.readSync (fs.js:481:19)
          at Object.fs.readFileSync (fs.js:320:28)
          at c:\partitions\d\projects\html5\git\cordova\cordova-lib\cordova-lib\src\cordova\metadata\windows_parser.js:278:30
          at Array.forEach (native)
          at Object.module.exports.add_bom (c:\partitions\d\projects\html5\git\cordova\cordova-lib\cordova-lib\src\cordova\metadata\windows_parser.js:272:15)
          at c:\partitions\d\projects\html5\git\cordova\cordova-lib\cordova-lib\src\cordova\metadata\windows_parser.js:251:18
          at _fulfilled (c:\partitions\d\projects\html5\git\cordova\cordova-lib\cordova-lib\node_modules\q\q.js:798:54)
          at self.promiseDispatch.done (c:\partitions\d\projects\html5\git\cordova\cordova-lib\cordova-lib\node_modules\q\q.js:827:30)
          at Promise.promise.promiseDispatch (c:\partitions\d\projects\html5\git\cordova\cordova-lib\cordova-lib\node_modules\q\q.js:760:13)
          at c:\partitions\d\projects\html5\git\cordova\cordova-lib\cordova-lib\node_modules\q\q.js:526:49
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sgrebnov Sergey Grebnov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: