h5bp/mobile-boilerplate — Issue #106: Manifest gets wrong image paths in build process
Author: oiva
Created: 2012-03-09 15:31:47+00:00
State: open

Steps to reproduce:
Set site manifest creation on in `build/config/project.properties`:
`file.manifest = manifest.appcache`

Build project:
`cd build && ant build`

After building the project the manifest file in `publish/manifest.appcache` has the following image files listed:

# image files
img/startup.png
...
img/apple-touch-icon.png
img/apple-touch-icon.png
img/apple-touch-icon-precomposed.png
img/apple-touch-icon.png

The real paths of the icons are:

img/h/apple-touch-icon.png
img/l/apple-touch-icon.png
img/l/apple-touch-icon-precomposed.png
img/m/apple-touch-icon.png

This breaks loading the manifest file in browsers as `img/apple-touch-icon-png` is not found.