RE: Please run with assert on when you're developing...

2013-06-12 Thread Alex Huang
Some (ok one) have asked me what is MAVEN_DEBUG_OPTS. That's my bad for not being clear. Adding "-ea" to MAVEN_OPTS will cause assert to be on for maven and maven's plugins as well. That means during clean, install stages, you might hit some weird asserts (according to others experience on th

Re: Please run with assert on when you're developing...

2013-06-11 Thread John Burwell
+100 On Jun 11, 2013, at 8:17 PM, Alex Huang wrote: > 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