java - Where to Enable the asserions -


i junior developer , developing web application using eclipse , server jboss 6.

i want know how , enable "assertion", can put assertions in code, , there assertion errors while developing , testing.

i want know if have configuration in jboss, or other place.

any sort of leading int right direction appreciated.

regards adofo

i have not tried , googled https://docs.jboss.org/author/display/arq/enabling+assertions

also @ worked me netbeans 7.1 https://stackoverflow.com/a/18046315/2194456

and in jboss 7 , if want start in cmd line.
go bin folder of jboss , in standalone.conf file add
java_opts="$java_opts -enableassertions"


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -