Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 14285 invoked from network); 31 Mar 2011 16:31:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Mar 2011 16:31:32 -0000 Received: (qmail 92617 invoked by uid 500); 31 Mar 2011 16:31:31 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 92594 invoked by uid 500); 31 Mar 2011 16:31:31 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 92587 invoked by uid 99); 31 Mar 2011 16:31:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Mar 2011 16:31:31 +0000 X-ASF-Spam-Status: No, hits=-1998.0 required=5.0 tests=ALL_TRUSTED,FB_GET_MEDS X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Mar 2011 16:31:30 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 7025223B for ; Thu, 31 Mar 2011 16:31:10 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Thu, 31 Mar 2011 16:31:10 -0000 Message-ID: <20110331163110.56959.55399@eos.apache.org> Subject: =?utf-8?q?=5BDb-derby_Wiki=5D_Update_of_=22siddharthsrivastava/QuickStart?= =?utf-8?q?Guide=5FNewDevelopers=22_by_siddharthsrivastava?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for = change notification. The "siddharthsrivastava/QuickStartGuide_NewDevelopers" page has been chang= ed by siddharthsrivastava. http://wiki.apache.org/db-derby/siddharthsrivastava/QuickStartGuide_NewDeve= lopers?action=3Ddiff&rev1=3D14&rev2=3D15 -------------------------------------------------- . a) __Setting the build environment__ . (i) Setting DERBY_HOME: = - . Assuming that you have checked out the trunk in C:\derby\trunk on Wind= ows, /home//derby/trunk on Linux. + . Assuming that you have[[http://db.apache.org/derby/dev/derby_source.ht= ml#Development+trunk|checked out]] the trunk in C:\derby\trunk on Windows, = /home//derby/trunk on Linux. = ||Operating System ||Command || ||Linux ||export DERBY_HOME=3D/home//derby/trunk || @@ -62, +62 @@ . There are two types of test in Derby: Harness Tests and [[http://wiki.= apache.org/db-derby/IntroToJUnit|JUnit]] Tests. We are converting the harne= ss tests to JUnit Tests . [[http://wiki.apache.org/db-derby/KillDerbyTestHa= rness#Goals|Why]] ? Whenever you make changes to the code, these tests need= to be run so as to make sure that the changes didn=E2=80=99t break any oth= er part of Derby. . . To run '''suites.All''' (the suite that runs all the JUnit tests in = Derby), add junit.jar to your classpath and run: = - . . '' ''java -XX'':''MaxPermSize=3D512m junit''.''tex= tui''.TestRunner ''org.apache.derbyTesting.functionTests.suites.All + . . '' ''java -XX'':''MaxPermSize=3D512m junit''.''text= ui''.TestRunner ''org.apache.derbyTesting.functionTests.suites.All = . (Note: It can take approximately 4-6 hours for regression tests to com= plete) = - . . To run derbyAll (the suite for running harness tests in Derby), add= jakarta-oro-2.0.8.jar to your classpath and run: + . . To run derbyAll (the suite for running harness tests in Derby), add = jakarta-oro-2.0.8.jar to your classpath and run: = . . '' ''java org'''.'''apache'''.'''derb= yTesting'''.'''functionTests'''.'''harness'''.''''''''RunSuite ''' ''derb= yall''' ''' =20