h5bp/ant-build-script — comment on commit a0a4a2a01f23e2ade26378c765e5642b1731f5b3
File:  line 0
By roblarsen:

That's great. I can fix it based on that. You're not off your rocker.

----- Reply message -----
From: "davidgwyr"
To: "Rob Larsen"
Subject: [ant-build-script] Added a new project property to enable inline JS compression (a0a4a2a)
Date: Tue, Mar 6, 2012 7:10 pm

I got this error when doing an 'ant build':
```-htmlclean:
[echo] Run htmlcompressor on the HTML
[echo] - maintaining whitespace
[echo] - removing html comments
[echo] - compressing inline style/script tag contents
[apply] ERROR: Output must be a directory and end with a slash (/)
[apply] ERROR: Output must be a directory and end with a slash (/)```

I reproduced with the lastest html5-boilerplate and ant-build-script as an empty html5-boilerplate project (no changes or additions except the inclusion of the build directory).

Either of these changes stopped the error:
(a) removed `${tool.htmlcompressor.javascript}` from 'build.xml', or
(b) added `tool.htmlcompressor.javascript =` to 'config/project.properties' with no options specified

Yesterday was my first foray into html5-boilerplate, so on the very possible chance I'm off my rocker with this, confirmation of the problem would be a great thing before I embarrass myself with a PR.

---
Reply to this email directly or view it on GitHub:
https://github.com/h5bp/ant-build-script/commit/a0a4a2a01f23e2ade26378c765e5642b1731f5b3#commitcomment-1051093