h5bp/html5-boilerplate — Issue #940: errors on js.all.minify
Author: jcboutkan
Created: 2012-01-26 12:32:15+00:00
State: open

I get this errors when running the ant build script in windows.

```
-js.all.minify:
[echo] Minifying scripts
[apply]
[apply] [ERROR] 1216:35:missing : in conditional expression
[apply]
[apply] [ERROR] 1221:11:syntax error
[apply]
[apply] [ERROR] 1225:15:syntax error
[apply]
[apply] [ERROR] 1228:19:syntax error
[apply]
[apply] [ERROR] 1231:17:syntax error
[apply]
[apply] [ERROR] 1232:17:syntax error
[apply]
[apply] [ERROR] 1233:18:syntax error
[apply]
[apply] [ERROR] 1234:17:syntax error
[apply]
[apply] [ERROR] 1235:16:syntax error
[apply]
[apply] [ERROR] 1236:26:syntax error
[apply]
[apply] [ERROR] 1237:20:syntax error
[apply]
[apply] [ERROR] 1238:23:syntax error
[apply]
[apply] [ERROR] 2485:33:missing : in conditional expression
[apply]
[apply] [ERROR] 2488:34:missing : in conditional expression
[apply]
[apply] [ERROR] 1:0:Compilation produced 14 syntax errors.
[apply] org.mozilla.javascript.EvaluatorException: Compilation produced 14 s
yntax errors.
[apply] at com.yahoo.platform.yui.compressor.YUICompressor$1.runtimeErro
r(YUICompressor.java:150)
[apply] at org.mozilla.javascript.Parser.parse(Parser.java:392)
[apply] at org.mozilla.javascript.Parser.parse(Parser.java:337)
[apply] at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(
JavaScriptCompressor.java:312)
[apply] at com.yahoo.platform.yui.compressor.JavaScriptCompressor.
(JavaScriptCompressor.java:533)
[apply] at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompr
essor.java:127)
[apply] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[apply] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:57)
[apply] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:43)
[apply] at java.lang.reflect.Method.invoke(Method.java:601)
[apply] at com.yahoo.platform.yui.compressor.Bootstrap.main(Bootstrap.ja
va:21)
[apply] Result: 2
```

Any idea what I can do about this?