greghmerrill
20 Apr 2010, 3:23 PM
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]");
should be
private Pattern pattern = Pattern.compile(".*(\\.js|\\.css)");
private Pattern pattern = Pattern.compile(".*[\\.js|\\.css]");
should be
private Pattern pattern = Pattern.compile(".*(\\.js|\\.css)");