I'm using Sencha Cmd 3.0.0.190 and wanted to compile a small file to experiment with various build options. So to compile a file containing just a single class, I created a simple class:
Code:
Ext.define('Custom.Test', {
    prop: 'value'
});
And compiled using this command, which I expected to only contain my Custom.Test class:
Code:
sencha compile -classpath ext/src,src exclude -all and include -class Custom.Test and concat test.js
To my surprise, though, the resulting file contained a host of Ext source files along with some other Custom.* classes in my src directory. So then I tried this command, which I expected to output just a blank file:
Code:
sencha compile -classpath ext/src,src exclude -all and concat test.js
However, the file still contained all the same classes as before. I also tried the following without any success (based on different usage examples found in 'sencha help compile' and the Sencha Cmd guides):
Code:
sencha compile -classpath ext/src,src exclude -a and concat test.js
sencha compile -classpath ext/src,src exclude --all and concat test.js
sencha compile -classpath ext/src,src exclude +all and concat test.js
I was able to eventually workaround the issue via named sets like this:
Code:
sencha compile -classpath ext/src,src save all and exclude all and concat test.js
Still, I would have expected the "exclude -all" to work. A bug, perhaps?