license ends up in non-js/css files
There's a bug in JSBuilder2.writeHeadersToTargets() which causes the license header to be written to files other than js/css if they happen to be in the deployDir.
private Pattern pattern = Pattern.compile(".*[\\.js|\\.css]");
private Pattern pattern = Pattern.compile(".*(\\.js|\\.css)");
Can I change this in the jar file somehow?
Sencha doesn't seem to do anything about this problem
Sencha - Community Support Team
So long as no new JSBuilder2 has been released you can use this patched version.