blackberry / BB10-Webworks-Packager

The BB10 WebWorks Packager bundles the App content with the BB10 WebWorks Framework to create a BAR to run on the BB10 Device (or simulator)
27 stars 18 forks source link

.bbwpignore issues in Windows #264

Open jonwebb opened 11 years ago

jonwebb commented 11 years ago

The .bbwpignore file has no effect on Windows due to incorrect backslash & forwardslash handling. Line #75 file-manager.js always returns true.

Line in .bbwpignore: *.png Path in toBeIgnored array: /www\tex\sky0.png Matched file path: /www/tex/sky0.png Note the last two slashes.

Also, the .bbwpignore file name is badly chosen, it is considered invalid in Windows. Renaming a new text file to .bbwpignore in the UI gives an error "You must type a valid filename". Workaround: rename the file via the commandline.