db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "siddharthsrivastava/QuickStartGuide_NewDevelopers" by siddharthsrivastava
Date Thu, 31 Mar 2011 16:31:10 GMT
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 changed by siddharthsrivastava.
http://wiki.apache.org/db-derby/siddharthsrivastava/QuickStartGuide_NewDevelopers?action=diff&rev1=14&rev2=15

--------------------------------------------------

   . a)       __Setting the build environment__
    . (i) Setting DERBY_HOME:
  
-  . Assuming that you have checked out the trunk in C:\derby\trunk on Windows, /home/<username>/derby/trunk
on Linux.
+  . Assuming that you have[[http://db.apache.org/derby/dev/derby_source.html#Development+trunk|checked
out]] the trunk in C:\derby\trunk on Windows, /home/<username>/derby/trunk on Linux.
  
  ||<tablestyle="margin-left: 1.25in; border-collapse: collapse; border: medium none;"width="127px"
style="border: 1pt solid black; padding: 0in 5.4pt; vertical-align: top;">Operating System
||<width="391px" style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid
none; border-color: black black black -moz-use-text-color; padding: 0in 5.4pt; vertical-align:
top;">Command ||
  ||<width="127px" style="border-width: medium 1pt 1pt; border-style: none solid solid;
border-color: -moz-use-text-color black black; padding: 0in 5.4pt; vertical-align: top;">Linux
||<width="391px" style="border-width: medium 1pt 1pt medium; border-style: none solid solid
none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;
vertical-align: top;">export DERBY_HOME=/home/<username>/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 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’t break any other 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=512m  junit''.''textui''.TestRunner
''org.apache.derbyTesting.functionTests.suites.All
+  . . ''                 ''java -XX'':''MaxPermSize=512m  junit''.''textui''.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''' '''
  

Mime
View raw message