-
25 Jan 2012 7:06 AM #1
Where to find "syntax errors"
Where to find "syntax errors"
Hello,
the output of my build give me same errormessages. Where can I find that errors in the source? What is the meaning of that numbers?
sencha build -v -p myproject.jsb3 -d .
[ERROR] 3689:26
yntax error
[ERROR] 3690:34:missing ; before statement
[ERROR] 3697:18
yntax error
[ERROR] 7686:21:missing : after property id
The errors were thrown after "Compress and obfuscate .."
In this forum I only found an old post without any answer:
http://www.sencha.com/forum/showthre...t=syntax+error
So someone can help me?
thx.
Stephan
-
1 Feb 2012 12:56 AM #2
Okay, I can answer myself.
The number is the linenumber of the code in the build file. In my case I used a attribute "short".
{short: ''}
This throw the error "[ERROR] 11456:10:invalid property id" in the right line. So I have to quote it and everything was fine. It seems that "short" is a reserved word for the compressor.
{'short': ''}
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote