Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC1F610C12 for ; Wed, 12 Jun 2013 00:18:23 +0000 (UTC) Received: (qmail 39978 invoked by uid 500); 12 Jun 2013 00:18:23 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 39939 invoked by uid 500); 12 Jun 2013 00:18:23 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 39931 invoked by uid 99); 12 Jun 2013 00:18:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jun 2013 00:18:23 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Alex.Huang@citrix.com designates 66.165.176.89 as permitted sender) Received: from [66.165.176.89] (HELO SMTP.CITRIX.COM) (66.165.176.89) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jun 2013 00:18:18 +0000 X-IronPort-AV: E=Sophos;i="4.87,848,1363132800"; d="scan'208";a="30585999" Received: from sjcpex01cl01.citrite.net ([10.216.14.143]) by FTLPIPO01.CITRIX.COM with ESMTP/TLS/AES128-SHA; 12 Jun 2013 00:17:56 +0000 Received: from SJCPEX01CL03.citrite.net ([169.254.3.36]) by SJCPEX01CL01.citrite.net ([10.216.14.143]) with mapi id 14.02.0342.004; Tue, 11 Jun 2013 17:17:55 -0700 From: Alex Huang To: "dev@cloudstack.apache.org" Subject: Please run with assert on when you're developing... Thread-Topic: Please run with assert on when you're developing... Thread-Index: Ac5nATP7CZQNG5KSQ3mSMN29DzknQA== Date: Wed, 12 Jun 2013 00:17:55 +0000 Message-ID: <20CF38CB4385CE4D9D1558D52A0FC058045F90@SJCPEX01CL03.citrite.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.216.48.12] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi All, CloudStack code have many asserts to guarantee code is written correctly fo= r 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. =20 I tried this recently and there are many places that are asserting. Please= do a run and fix what you can. Thanks. --Alex