Martin, I am not sure why you are saying that something is configured wrong? My settings do override defaults.
Clint, I call resourceSettings.setJavascriptCompressor(new DefaultJavascriptCompressor()) in MyApp#init() method, not in the constructor. Thanks, Alec On Fri, Apr 29, 2011 at 3:58 PM, Clint Checketts <[email protected]> wrote: > I've seen folks get a misconfigure like this when they make the call > in the application's constructor instead of the init() method. > > On Friday, April 29, 2011, Martin Grigorov <[email protected]> wrote: >> Hi, >> >> On Thu, Apr 28, 2011 at 9:50 PM, Alec Swan <[email protected]> wrote: >>> Thanks, Andrea. I was running in DEVELOPMENT mode and switching to >>> DEPLOYMENT mode fixed the problem. I hope this gets documented >>> somewhere. >>> >> You are doing something wrong. MyApp#init() is called after >> WebApplication#internalInit() so your settings should override the >> defaults. >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
