伙计们!
我在尝试sencha -d -s /data/html/blablabal/ext-4.0 generate app Skeleton /data/html/Skeleton
为我现有的应用程序使用和生成骨架时遇到了麻烦,这是过去以非常不幸的方式创建的:-(
当我调用上述命令行时,我总是得到这个:
`
> sencha -d -s /data/html/hdbdesktop/ext-4.0 generate app Skeleton /data/html/Skeleton
[DBG] found sencha.cfg at /home/akosenkov/bin/Sencha/Cmd/3.0.0.250
[DBG] Checking for framework config overrides
Sencha Cmd v3.0.0.250
[DBG] found sencha.cfg at /home/akosenkov/bin/Sencha/Cmd/3.0.0.250
[DBG] Checking for framework config overrides
[DBG] creating workspace at '/data/html/Skeleton'
[ERR] Failed to determine framework name. Please ensure this command was issued from either a framework or application directory
com.sencha.exceptions.ExState: Failed to determine framework name. Please ensure this command was issued from either a framework or application directory
at com.sencha.command.BaseConfigCommands.mustGetFrameworkName(BaseConfigCommands.java:143)
at com.sencha.command.generator.GeneratorCommands$WorkspaceCommand.execute(GeneratorCommands.java:60)
at com.sencha.command.generator.GeneratorCommands$AppCommand.execute(GeneratorCommands.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.sencha.cli.Command.dispatch(Command.java:78)
at com.sencha.cli.Commands.dispatch(Commands.java:49)
at com.sencha.cli.Commands.dispatch(Commands.java:49)
at com.sencha.command.Sencha.main(Sencha.java:71)
`
我正在使用“普通”的 ExtJS(即这不是 Sencha Touch)。
怎么了?
真诚感谢任何提示!:-)
注意:我对http://docs.sencha.com/ext-js/4-1/#/guide/command_app和所有内容进行了深入研究,甚至与主题有一点关系......