h5bp/ant-build-script — Issue #21: How to bypass compress/concat for .js files in mylibs
Author: bumpux
Created: 2012-02-17 19:39:02+00:00
State: open

I can't get the script to bypass js files in a subdirectory of mylibs. I have t/he bootstrap .js linked and working fine for development in a /js/mylibs/boostrap/ directory. I want to exclude some of them from the build routine. Per instructions, I uncomment the bypass rule in project.properties and add:

`file.js.bypass = bootstrap/bootstrap-carousel.js`

I expected an unminified version of the file to be copied to /publish/js/mylibs/bootstrap/bootstrap-carousel.js . Links from html files are correctly changed to point to this file, but it doesn't exist.

I understand that another way to opt out of compression/concatenation is to link outside the `` comment block. This doesn't work for me either.

Any advice on how to use either of these two methods (or combine them?). I don't assume it's a problem with the script, but the doc isn't clear to me.