[ 
https://issues.apache.org/jira/browse/CB-7715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Grebnov updated CB-7715:
-------------------------------
    Summary: Fix windows build if folder has '.(js|htm|etc)' in name  (was: Fix 
windows build when www has folder with '.(js|htm|json|etc)' in name)

> Fix windows build if folder has '.(js|htm|etc)' in name
> -------------------------------------------------------
>
>                 Key: CB-7715
>                 URL: https://issues.apache.org/jira/browse/CB-7715
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib, Windows
>            Reporter: Sergey Grebnov
>            Assignee: Sergey Grebnov
>              Labels: bom, cordova-lib, prepare, windows
>
> Repro steps
> 1. Add folder with 'jquery.jsignature' name and corresponding content to www
> 2. cordova build
> 3. Observe the following error
> {code}
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to