1. #1
    Ext JS Premium Member
    Join Date
    Oct 2009
    Location
    Hamilton ON Canada
    Posts
    25
    Vote Rating
    0
    fargs is on a distinguished road

      0  

    Default generate app with 4.1.3

    generate app with 4.1.3


    Any one having an issue with generating a new app with extjs 4.1.3?
    It works fine with 4.1.2a.

    Code:
    PS C:\inetpub\wwwroot\extjs-4.1.3> sencha generate app -path "C:\workspace\rome\main\sencha\rome413"
    Sencha Cmd v3.0.2.288
    [INF]
    [INF]           init-properties:
    [INF]
    [INF]           init-sencha-command:
    [INF]
    [INF]           init:
    [INF]
    [INF]           -before-generate-workspace:
    [INF]
    [INF]           generate-workspace-impl:
    [INF]
    [INF]           -before-copy-framework-to-workspace:
    [INF]
    [INF]           copy-framework-to-workspace-impl:
    [INF]                [copy] Copying 2381 files to C:\workspace\rome\main\sencha\rome413\ext
    [INF]                [copy] Copying 86 files to C:\workspace\rome\main\sencha\rome413\ext\src\ux
    [INF]           [propertyfile] Updating property file: C:\workspace\rome\main\sencha\rome413\.sencha\workspace\sencha.cf
    g
    [INF]
    [INF]           -after-copy-framework-to-workspace:
    [INF]
    [INF]           copy-framework-to-workspace:
    [INF]
    [INF]           -after-generate-workspace:
    [INF]
    [INF]           generate-workspace:
    [INF]
    [INF]           init-properties:
    [INF]
    [INF]           init-sencha-command:
    [INF]
    [INF]           init:
    [INF]
    [INF]           -before-generate-app:
    [INF]
    [INF]           generate-app-impl:
    [INF]
    [INF]           update-app:
    [INF]
    [INF]           update-app:
    [INF]               [mkdir] Created dir: C:\workspace\rome\main\sencha\rome413\app\model
    [INF]               [mkdir] Created dir: C:\workspace\rome\main\sencha\rome413\app\store
    [INF]
    [INF]           init-properties:
    [INF]
    [INF]           init-sencha-command:
    [INF]
    [INF]           init:
    [INF]
    [INF]           -before-app-refresh:
    [INF]
    [INF]           app-refresh-impl:
    [INF]           Processing classPath entry : C:\inetpub\wwwroot\extjs-4.1.3\sencha-compile-temp-dir
    [INF]           Processing classPath entry : C:\Workspace\Rome\Main\sencha\rome413\ext\src
    [INF]           Processing classPath entry : C:\Workspace\Rome\Main\sencha\rome413\app
    [ERR]           C2000: YUI Compressor Error (missing } after property list =>     createGetter: function() {) -- C:\Work
    space\Rome\Main\sencha\rome413\ext\src\data\association\HasOne.js:23375
    [ERR]           C2000: YUI Compressor Error (missing ) after argument list =>     createGetter: function() {) -- C:\Work
    space\Rome\Main\sencha\rome413\ext\src\data\association\HasOne.js:23375
    [ERR]           C2000: YUI Compressor Error (syntax error =>     },) -- C:\Workspace\Rome\Main\sencha\rome413\ext\src\da
    ta\association\HasOne.js:29264
    [ERR]           C2000: YUI Compressor Error (syntax error => });) -- C:\Workspace\Rome\Main\sencha\rome413\ext\src\data\
    association\HasOne.js:31359
    [ERR]           C2000: YUI Compressor Error (missing ; before statement => });) -- C:\Workspace\Rome\Main\sencha\rome413
    \ext\src\data\association\HasOne.js:31360
    [ERR]           C2000: YUI Compressor Error (syntax error => });) -- C:\Workspace\Rome\Main\sencha\rome413\ext\src\data\
    association\HasOne.js:31360
    [ERR]           C2000: YUI Compressor Error (Compilation produced 6 syntax errors. => null) -- C:\Workspace\Rome\Main\se
    ncha\rome413\ext\src\data\association\HasOne.js:0
    [ERR]
    [ERR]           BUILD FAILED
    [ERR]           com.sencha.exceptions.BasicException: com.sencha.exceptions.ExParse: Failed parsing C:\Workspace\Rome\Ma
    in\sencha\rome413\ext\src\data\association\HasOne.js
    [ERR]                   at com.sencha.cli.Commands$Cmd.create(Commands.java:117)
    [ERR]                   at com.sencha.cli.Commands.findCommand(Commands.java:74)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:43)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]                   at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:182)
    [ERR]                   at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:69)
    [ERR]                   at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
    [ERR]                   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]                   at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]                   at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]                   at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERR]                   at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERR]                   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERR]                   at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [ERR]                   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [ERR]                   at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:156)
    [ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:72)
    [ERR]                   at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:94)
    [ERR]                   at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:98)
    [ERR]                   at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.java:142)
    [ERR]                   at com.sencha.command.app.AppCommands$RefreshCommand.execute(AppCommands.java:335)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at com.sencha.cli.Command.dispatch(Command.java:78)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]                   at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:182)
    [ERR]                   at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:69)
    [ERR]                   at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
    [ERR]                   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]                   at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]                   at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]                   at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    [ERR]                   at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]                   at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
    [ERR]                   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]                   at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]                   at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]                   at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERR]                   at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERR]                   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERR]                   at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [ERR]                   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [ERR]                   at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:156)
    [ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:72)
    [ERR]                   at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:94)
    [ERR]                   at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:98)
    [ERR]                   at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.java:142)
    [ERR]                   at com.sencha.command.generator.GeneratorCommands$AppCommand.execute(GeneratorCommands.java:230)
    
    
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at com.sencha.cli.Command.dispatch(Command.java:78)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]                   at com.sencha.command.Sencha.main(Sencha.java:71)
    [ERR]           Caused by: com.sencha.exceptions.ExParse: Failed parsing C:\Workspace\Rome\Main\sencha\rome413\ext\src\d
    ata\association\HasOne.js
    [ERR]                   at com.sencha.tools.compiler.CompilerContext.getSourceFile(CompilerContext.java:128)
    [ERR]                   at com.sencha.tools.compiler.CompilerContext.getSourceFile(CompilerContext.java:109)
    [ERR]                   at com.sencha.tools.compiler.CompilerContext.loadClassPath(CompilerContext.java:221)
    [ERR]                   at com.sencha.command.compile.CompileCommands.getCache(CompileCommands.java:187)
    [ERR]                   at com.sencha.command.compile.CompileCommands.getCache(CompileCommands.java:154)
    [ERR]                   at com.sencha.command.compile.CompileCommands$BaseFilterCommand.<init>(CompileCommands.java:300)
    
    
    [ERR]                   at com.sencha.command.compile.CompileCommands$ExcludeCommand.<init>(CompileCommands.java:412)
    [ERR]                   at com.sencha.command.compile.CompileCommands.createExclude(CompileCommands.java:1033)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at com.sencha.cli.Commands$Cmd.create(Commands.java:99)
    [ERR]                   ... 74 more
    [ERR]           Caused by: org.mozilla.javascript.EvaluatorException: Compilation produced 6 syntax errors.
    [ERR]                   at com.sencha.tools.compiler.ast.SenchaErrorReporter.runtimeError(SenchaErrorReporter.java:62)
    [ERR]                   at org.mozilla.javascript.Parser.parse(Parser.java:597)
    [ERR]                   at org.mozilla.javascript.Parser.parse(Parser.java:506)
    [ERR]                   at com.sencha.tools.compiler.ast.AstUtil.parse(AstUtil.java:36)
    [ERR]                   at com.sencha.tools.compiler.ast.AstUtil.parse(AstUtil.java:47)
    [ERR]                   at com.sencha.tools.compiler.CompilerContext.parse(CompilerContext.java:598)
    [ERR]                   at com.sencha.tools.compiler.CompilerContext.getSourceFile(CompilerContext.java:120)
    [ERR]                   ... 86 more
    [ERR]
    [ERR]           Total time: 2 seconds
    [ERR]
    [ERR]           BUILD FAILED
    [ERR]           com.sencha.exceptions.BasicException: com.sencha.exceptions.BasicException: com.sencha.exceptions.ExPars
    e: Failed parsing C:\Workspace\Rome\Main\sencha\rome413\ext\src\data\association\HasOne.js
    [ERR]                   at com.sencha.exceptions.BasicException.wrap(BasicException.java:43)
    [ERR]                   at com.sencha.cli.Command.dispatch(Command.java:104)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]                   at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:182)
    [ERR]                   at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:69)
    [ERR]                   at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
    [ERR]                   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]                   at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]                   at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]                   at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    [ERR]                   at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]                   at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
    [ERR]                   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]                   at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]                   at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]                   at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERR]                   at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERR]                   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERR]                   at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [ERR]                   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [ERR]                   at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:156)
    [ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:72)
    [ERR]                   at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:94)
    [ERR]                   at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:98)
    [ERR]                   at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.java:142)
    [ERR]                   at com.sencha.command.generator.GeneratorCommands$AppCommand.execute(GeneratorCommands.java:230)
    
    
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at com.sencha.cli.Command.dispatch(Command.java:78)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]                   at com.sencha.command.Sencha.main(Sencha.java:71)
    [ERR]           Caused by: C:\SenchaCmd\Sencha\Cmd\3.0.2.288\plugins\ext\current\plugin.xml:273: com.sencha.exceptions.B
    asicException: com.sencha.exceptions.ExParse: Failed parsing C:\Workspace\Rome\Main\sencha\rome413\ext\src\data\associat
    ion\HasOne.js
    [ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
    [ERR]                   at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]                   at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERR]                   at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERR]                   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERR]                   at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [ERR]                   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [ERR]                   at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:156)
    [ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:72)
    [ERR]                   at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:94)
    [ERR]                   at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:98)
    [ERR]                   at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.java:142)
    [ERR]                   at com.sencha.command.app.AppCommands$RefreshCommand.execute(AppCommands.java:335)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at com.sencha.cli.Command.dispatch(Command.java:78)
    [ERR]                   ... 45 more
    [ERR]           Caused by: com.sencha.exceptions.BasicException: com.sencha.exceptions.ExParse: Failed parsing C:\Worksp
    ace\Rome\Main\sencha\rome413\ext\src\data\association\HasOne.js
    [ERR]                   at com.sencha.cli.Commands$Cmd.create(Commands.java:117)
    [ERR]                   at com.sencha.cli.Commands.findCommand(Commands.java:74)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:43)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]                   at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:182)
    [ERR]                   at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:69)
    [ERR]                   at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
    [ERR]                   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]                   at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]                   ... 63 more
    [ERR]           Caused by: com.sencha.exceptions.ExParse: Failed parsing C:\Workspace\Rome\Main\sencha\rome413\ext\src\d
    ata\association\HasOne.js
    [ERR]                   at com.sencha.tools.compiler.CompilerContext.getSourceFile(CompilerContext.java:128)
    [ERR]                   at com.sencha.tools.compiler.CompilerContext.getSourceFile(CompilerContext.java:109)
    [ERR]                   at com.sencha.tools.compiler.CompilerContext.loadClassPath(CompilerContext.java:221)
    [ERR]                   at com.sencha.command.compile.CompileCommands.getCache(CompileCommands.java:187)
    [ERR]                   at com.sencha.command.compile.CompileCommands.getCache(CompileCommands.java:154)
    [ERR]                   at com.sencha.command.compile.CompileCommands$BaseFilterCommand.<init>(CompileCommands.java:300)
    
    
    [ERR]                   at com.sencha.command.compile.CompileCommands$ExcludeCommand.<init>(CompileCommands.java:412)
    [ERR]                   at com.sencha.command.compile.CompileCommands.createExclude(CompileCommands.java:1033)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]                   at com.sencha.cli.Commands$Cmd.create(Commands.java:99)
    [ERR]                   ... 74 more
    [ERR]           Caused by: org.mozilla.javascript.EvaluatorException: Compilation produced 6 syntax errors.
    [ERR]                   at com.sencha.tools.compiler.ast.SenchaErrorReporter.runtimeError(SenchaErrorReporter.java:62)
    [ERR]                   at org.mozilla.javascript.Parser.parse(Parser.java:597)
    [ERR]                   at org.mozilla.javascript.Parser.parse(Parser.java:506)
    [ERR]                   at com.sencha.tools.compiler.ast.AstUtil.parse(AstUtil.java:36)
    [ERR]                   at com.sencha.tools.compiler.ast.AstUtil.parse(AstUtil.java:47)
    [ERR]                   at com.sencha.tools.compiler.CompilerContext.parse(CompilerContext.java:598)
    [ERR]                   at com.sencha.tools.compiler.CompilerContext.getSourceFile(CompilerContext.java:120)
    [ERR]                   ... 86 more
    [ERR]
    [ERR]           Total time: 4 seconds
    [ERR]           com.sencha.exceptions.BasicException: com.sencha.exceptions.BasicException: com.sencha.exceptions.ExPars
    e: Failed parsing C:\Workspace\Rome\Main\sencha\rome413\ext\src\data\association\HasOne.js

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,327
    Vote Rating
    850
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Just tried with Cmd 3.0.2.288 with Ext JS 4.1.3 and it generated the app with no errors for me.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member
    Join Date
    Oct 2009
    Location
    Hamilton ON Canada
    Posts
    25
    Vote Rating
    0
    fargs is on a distinguished road

      0  

    Default


    I am also using Sencha Cmd 3.0.2.288.
    I am running windows 7.
    I have java version 1.7.0-b147.

    Is anyone else running into this issue?

  4. #4
    Ext JS Premium Member
    Join Date
    Oct 2009
    Location
    Hamilton ON Canada
    Posts
    25
    Vote Rating
    0
    fargs is on a distinguished road

      0  

    Default


    I believe I have found the issue. I had applied the following workaround to fix the createSetter bug.

    http://www.sencha.com/forum/showthread.php?236741

    This bug is apparently fixed in 4.2.0 Sprint 3 so I would make sure you test if this works with Sencha Cmd. If I revert this change, generate app works.

    Thanks,

Thread Participants: 1