Test Procedure :
1. Create a new android cordova project
2. Build to check that it works
3. Add in the www folder a js file with a very long file name
4. Build again and it see that if fails
This is a link to download the sample project that failed to build.