I created a theme using the sencha cmd on a dummy app and now I want to use that theme on other applicattion. I've copied the theme folder to my app's packages folder and it's working fine.
I made some changes so I tried to use "sencha package build" to compile the theme and got this error:
[ERR] null
at com.sencha.command.environment.PackageEnvironment.loadBaseConfigs(PackageEnvironment.java:64)
at com.sencha.command.environment.PackageEnvironment.<init>(PackageEnvironment.java:46)
at com.sencha.command.environment.BuildEnvironment.load(BuildEnvironment.java:166)
at com.sencha.command.Sencha.loadBuildEnvironment(Sencha.java:361)
at com.sencha.command.Sencha.<init>(Sencha.java:67)
at com.sencha.command.Sencha.<init>(Sencha.java:61)
at com.sencha.command.Sencha.main(Sencha.java:106
I thought the error was related to the theme but I also get this if I try to execute a sencha command from my app folder:
[ERR] Command must be run from an application folder
Obviously it's some kind of misconfiguration but I have no idea how to solve it. Any suggestions?
Edit: I've generated a new app with sencha cmd and copied the code from the old app to the new one. Now it's not building:
BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild: com.sencha.exceptions.ExParse: Failed parsing path/ext-all-rtl-sandbox-debug-w-comments.js
[ERR] at
[ERR] org.mozilla.javascript.ast.FunctionNode.visit(FunctionNode.java:421)
Is there a way to compile the theme without using the cmd on ExtJs 4.2?