I upgraded my app to 5.2.4 as soon as it was marked stable, but here's
something I just noticed now: combine scripts doesn't seem to be working. In
production mode, combine scripts is supposed to default to true, so all
javascript files on the page get combined in to one virtual asset. This
isn't happening in my application.

I tried it out using the maven archetype. Using 5.1.0.5, I changed the index
page to have:
@IncludeJavaScriptLibrary({"context:test.js", "context:test2.js"})
public class Index {
//rest of class here
}

and in src/main/webapp added two files, test.js and test2.js

Changing AppModule to comment out the production mode false line, all
scripts on the page get combined to one virtual asset.

However using 5.2.4, this doesn't happen. I've tried explicitly setting
SymbolConstants.COMBINE_SCRIPTS to true (and using @Import instead of
@IncludeJavaScriptLibrary) but I can't get scripts to be combined.

Am I missing something? If not, I'll file a JIRA issue for it.

Reply via email to