You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2003/05/16 11:59:04 UTC

Debugging hint: Assertions

Hi Lenya developers,

since we use J2SE 1.4, we can make use of assertions:
http://java.sun.com/j2se/1.4.1/docs/guide/lang/assert.html

All you have to do is call your Tomcat with the flag
-ea (or -enableassertions). If you call it from the
Windows start menu, you have to edit the start menu
shortcut and add the option to the command line.

Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org