Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 24147 invoked from network); 31 Mar 2011 12:42:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Mar 2011 12:42:33 -0000 Received: (qmail 53627 invoked by uid 500); 31 Mar 2011 12:42:33 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 53601 invoked by uid 500); 31 Mar 2011 12:42:33 -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 53592 invoked by uid 99); 31 Mar 2011 12:42:33 -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:42:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED 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:42:30 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 44831227 for ; Thu, 31 Mar 2011 12:42:09 +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:42:09 -0000 Message-ID: <20110331124209.73664.9173@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=3D13&rev2=3D14 -------------------------------------------------- = . 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. - . . c) __ ____Running Regression Tests__ + . . c) __ ____Running Regression Tests__ . 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: + . . 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''.''textui= ''.TestRunner ''org.apache.derbyTesting.functionTests.suites.All + . . '' ''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 com= plete) = - . - . To run derbyAll (the suite for running harness tests in Derby), add ja= karta-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'''.'''der= byTesting'''.'''functionTests'''.'''harness'''.''''''''RunSuite ''' ''der= byall''' ''' + . . '' ''java org'''.'''apache'''.'''derb= yTesting'''.'''functionTests'''.'''harness'''.''''''''RunSuite ''' ''derb= yall''' ''' = - . . . ''' '''For detailed information about tests''', '''refer''' [[h= ttp://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/README.htm?vie= w=3Dco|Testing README]] ''' + . . . ''' '''For detailed information about tests''', '''refer''' [[ht= tp://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/README.htm?view= =3Dco|Testing README]] ''' = '''Developer Tips:'''''' ''' = 1) While running tests, clean your current directory containing any= artifacts from previous tests. Refer''' [[https://issues.apache.org/jira/b= rowse/DERBY-5129|DERBY-5129]] ''' = - 2) When you rebuild Derby, if you face issues related to the build= procedure (buildjars), not being able to overwrite some of the existing ja= rs, delete the existing jars from trunk/jars/sane directory in run the buil= djars (ant =E2=80=93quiet buildjars) again.See''' [[https://issues.apache.o= rg/jira/browse/DERBY-5128|DERBY-5128]] ''' + 2) When you rebuild Derby, if you face issues related to the build= procedure (buildjars), not being able to overwrite some of the existing ja= rs, delete the existing jars from trunk/jars/sane directory and run the bui= ldjars (ant =E2=80=93quiet buildjars) again.See''' [[https://issues.apache.= org/jira/browse/DERBY-5128|DERBY-5128]] ''' =20