Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 34131 invoked from network); 31 Mar 2011 12:18:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Mar 2011 12:18:48 -0000 Received: (qmail 10001 invoked by uid 500); 31 Mar 2011 12:18:48 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 9933 invoked by uid 500); 31 Mar 2011 12:18:48 -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 9926 invoked by uid 99); 31 Mar 2011 12:18:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Mar 2011 12:18:48 +0000 X-ASF-Spam-Status: No, hits=-1996.9 required=5.0 tests=ALL_TRUSTED,HTTP_ESCAPED_HOST,HTTP_EXCESSIVE_ESCAPES 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 12:18:45 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id CD59D217 for ; Thu, 31 Mar 2011 12:18:23 +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 12:18:23 -0000 Message-ID: <20110331121823.60686.3948@eos.apache.org> Subject: =?utf-8?q?=5BDb-derby_Wiki=5D_Update_of_=22siddharthsrivastava/QuickStart?= =?utf-8?q?Guide=5FNewDevelopers=22_by_siddharthsrivastava?= X-Virus-Checked: Checked by ClamAV on apache.org 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=3D3&rev2=3D4 -------------------------------------------------- = A Quick look at the phases a developer would go through with Derby: = - {{http://i%35%31.tinypic.com/%32n%39z%31%38i.png}} + {{http://i51.tinypic.com/2n9z18i.png}} = '''GETTING STARTED''' = @@ -57, +57 @@ = = . b) __ ____Building Derby from source:__ - . Refer to [[http://svn.apache.org/viewvc/db/derby/code/trunk/BUILDING.h= tml?view=3Dco|BUILDING.html]] for detailed instructions. + . Refer to [[http://svn.apache.org/viewvc/db/derby/code/trunk/BUILD= ING.html?view=3Dco|BUILDING.html]] for detailed instructions. - . . c) __ ____Running Regression Tests__ + . . . . c) __ ____Running Regression Tests__ - . . A quick introduction to get started: There are two types of tes= t in Derby: Harness Tests and [[http://wiki.apache.org/db-derby/IntroToJUni= t|JUnit]] Tests. We are converting the harness tests to JUnit Tests . [[htt= p://wiki.apache.org/db-derby/KillDerbyTestHarness#Goals|Why]] ? + . . A quick introduction to get started: There are two types = of test in Derby: Harness Tests and [[http://wiki.apache.org/db-derby/Intro= ToJUnit|JUnit]] Tests. We are converting the harness tests to JUnit Tests .= [[http://wiki.apache.org/db-derby/KillDerbyTestHarness#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 other par= t of Derby. To run '''suites.All''' (the suite that run + . . 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 other par= t of Derby. + . . To run '''suites.All''' (the suite that runs all the JUnit te= sts in Derby), add junit.jar to your classpath and run: - . all the JUnit tests in Derby), add junit.jar to your classpath and r= un: - . . . = ''java -XX:MaxPermSize=3D512m junit.textui.TestRunner org.apache.derbyT= esting.functionTests.suites.All'' - . - . . (Note: It can take approximately 4-6 hours for regression tests = to complete) = - . + . . ''java -XX:MaxPermSize=3D512m junit.tex= tui.TestRunner org.apache.derbyTesting.functionTests.suites.All'' + . (Note: It can take approximately 4-6 hours for regression tests = to complete) + = - . 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.derbyTesting.functionTests.harness.RunSuite derbyall'' + . . . ''java org.apache.derbyTesting.functionTests.harness.RunSuite= derbyall'' + . . - . . For detailed information about tests, refer [[http://svn.apache.= org/viewvc/db/derby/code/trunk/java/testing/README.htm?view=3Dco|Testing RE= ADME]] + . For detailed information about tests, refer [[http://svn.apache.o= rg/viewvc/db/derby/code/trunk/java/testing/README.htm?view=3Dco|Testing REA= DME]] = '''Developer Tips:''' =20