Hi Toby, Thank you very much. I juste verified on GAE production. It works. (I wonder why nobody has asked before - everyone figured it out on his/ her own or no one bothered?) PS: May be a word or two in GAE docs about assertions in java may help (I've searched and found nothing).
Thanks again Leo On Mar 2, 2:43 pm, Toby Reyelts <[email protected]> wrote: > Try doing YourClass.class.getClassLoader().setDefaultAssertionStatus(true); > > On Sat, Feb 26, 2011 at 10:48 PM, Leo Kuznetsov > <[email protected]>wrote: > > > > > of course, I can do it on local host, but is the a way to do it via some > > tag in e.g. appengine-web.xml? > > I tried to put > > static { > > ClassLoader.getSystemClassLoader().setDefaultAssertionStatus(true); > > } > > but this does make servlet loading fail... (almost as expected). > > > Any help would be appreciated. > > > PS: It really helps to have asserts working in production environment. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
