This address: http://blog.csdn.net/sushengmiyan/article/details/41242993
This article Sushengmiyan
--------------------------------------------------------------------------------------------------------------- ---------------------
A strange mistake was reported when using CMD to package ext.
Look for it and find out that code writing is causing it. Now record:
Error specific information:
[ERR] C2009:yui Parse Error (identifier is a reserved word =
debugger;)--Unknown-file:198775:12
[ERR] C2009:yui Parse Error (compilation produced 1 syntax errors. = NULL)--
Unknown-file:2
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild:Failed to compress input
[ERR] at Com.sencha.tools.compressors.yui.
[ERR] Yuijavascriptcompressor$2.invoke (yuijavascriptcompressor.java:103)
[ERR]
[ERR] total time:10 seconds
[ERR] The following error occurred while executing this line:
E:\workspaces\myeclipse2014\newcourt\webroot\.sencha\app\build-impl.xml:260:the
Following error occurred while executing the line:
E:\workspaces\myeclipse2014\newcourt\webroot\.sencha\app\js-impl.xml:59:com.sen
cha.exceptions.ExBuild:Failed to compress input
See the first line of error can be seen to parse debugger error, look at my code, I found that I debug debugger write did not remove, packaging when the error occurred, will debugger removed. and pack it up again. found that the program is packaged properly.
[ExtJS5 Study note] 27th cmd packaging error C2009:yui Parse error (identifier is a reserved word => debugger;)