cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Huang <>
Subject Please run with assert on when you're developing...
Date Wed, 12 Jun 2013 00:17:55 GMT
Hi All,

CloudStack code have many asserts to guarantee code is written correctly for the developers.
 I recently realized that since we've converted to maven, we no longer run with assert on
as developers.  It is very important that we do because it will find problems for you during
load time and run time.

To run with assert on, you can add "-ea" to MAVEN_DEBUG_OPTS.  

I tried this recently and there are many places that are asserting.  Please do a run and fix
what you can.



View raw message