ant-build-script
ant-build-script copied to clipboard
Minifying any unconcatenated css files... FileNotFoundException
I get this on "Minifying any unconcatenated css files..."
java.io.FileNotFoundException: /site/publish/html/css/outside/outside.css
It looks like css-directory is not yet created on publish at this point. I'm still trying to figure out how to overcome this.
Ok, I find the problem here https://github.com/h5bp/ant-build-script/blob/master/build.xml#L472:
<dirset dir="${dir.source}/" excludes="${file.default.exclude}, ${file.exclude}" includes="*"/>
I changed it to this:
<dirset dir="${dir.source}/" excludes="${file.default.exclude}, ${file.exclude}"/>
Do you remember why it was changed in a first place? Related to something else?
Looking through for a reason why right now.