I'm using Sencha Cmd v184.108.40.2064, on Linux
I can create a workspace in a directory, but not an app in this same directory.
Here is the code to test:
It returns on last command, the error:
mkdir -p Resources/public/js/
sencha generate workspace --path Resources/public/js/
sencha -sdk /path/to/touch-2.2.0/ generate app --name ProjectName --path Resources/public/js/
The bug, minor, seems to come from normalizing the path given to generate app.
[ERR] The target folder is already configured as a workspace: /home/jerome/projects/cassini/SENCHA/TamMobileTEST/ggg/Resources/public/js
[ERR] Cannot generate app to existing workspace root.
While generate workspace normalizes it the good way, generate app doesn't
The workaround for now is to prepend ./ before Resources
The following command will work:
sencha -sdk /path/to/touch-2.2.0/ generate app --name ProjectName --path ./Resources/public/js/