我正在尝试sencha app build
使用 Sencha CMD 6.1.1.76 但我得到:
BUILD FAILED
[ERR] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
[ERR] at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:97
[ERR] )
其他不多:/
该项目以前是使用 6.0.0.92 构建的
但我在 sencha 的 cdn http://cdn.sencha.com/cmd/6.0.2.14/release-notes.html上没有看到那个特定的
我不认为我是唯一一个遇到这个问题的人: https ://www.sencha.com/forum/showthread.php?309457-IndexOutOfBoundsException-when-running-sencha-app-build-testing&p=1131708#post1131708
有没有人能够克服这个问题?
运行 sencha app upgrade 没有任何帮助,ExtJs 5.0 在这个项目中使用。
我也得到了一个不同的异常,但它产生了相同的任务(slice-impl.xml 中的切片图像)
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: Java heap space
[ERR] at com.sench
[ERR] a.cli.Command.dispatch(Command.java:43)
[ERR]
[ERR] Total time: 30 seconds
[ERR] The following error occurred while executing this line:
/Users/code4jhon/thellookingglass-git/.sencha/app/build-impl.xml:335: The following error occurred while executing this line:
/Users/code4jhon/thellookingglass-git/.sencha/app/slice-impl.xml:370: The following error occurred while executing this line:
/Users/code4jhon/thellookingglass-git/.sencha/app/slice-impl.xml:371: The following error occurred while executing this line:
/Users/code4jhon/thellookingglass-git/.sencha/app/slice-impl.xml:240: com.sencha.exceptions.BasicException: Java heap space
我试过增加一些配置文件的堆大小,但没有运气。