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 12:15:51 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=2&rev2=3

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

  
  A Quick look at the phases a developer would go through with Derby:
  
- {{attachment:E:\project\derby\flowchart_developer.png|E:\project\derby\flowchart_developer.png}}
+ {{http://i%35%31.tinypic.com/%32n%39z%31%38i.png}}
  
  '''GETTING STARTED'''
  
@@ -29, +29 @@

  
   . (ii)                   Make sure that java is included in your classpath. To test it
run java –version from the command prompt(windows)/terminal(linux)  (iii)              
  Set PATH variable
  
- ||<tablestyle="margin-left: 1.25in; border-collapse: collapse; border: medium none;"rowstyle=""width="127px"
height="17.05pt" style="border: 1pt solid black; padding: 0in 5.4pt; vertical-align: top;">Operating
System ||<width="391px" height="17.05pt" 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 ||
+ ||<tablestyle="margin-left: 1.25in; border-collapse: collapse; border: medium none;"width="127px"
height="17.05pt" style="border: 1pt solid black; padding: 0in 5.4pt; vertical-align: top;">Operating
System ||<width="391px" height="17.05pt" 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 PATH="$DERBY_HOME/bin:$PATH" ||
  ||<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;">Windows
||<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;">set PATH=%DERBY_HOME%\bin;%PATH%   You can also add %DERBY_HOME%\bin
at   the of the system path from Control Panel. ||
  ||<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;">Mac
OSX ||<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;">-- ||
@@ -38, +38 @@

   . (iv)                Setting CLASSPATH          Following are the jars that needs to be
included in your classpath
  
  ||<tablestyle="margin-left: 0.75in; border-collapse: collapse; border: medium none;"width="283px"
style="border: 1pt solid black; padding: 0in 5.4pt; vertical-align: top;">'''Jar name'''
||<width="283px" 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;">'''Purpose''' ||
- ||<rowstyle=""width="283px" height="19.75pt" 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;">jakarta-oro-2.0.8.jar  (trunk\tools\java) ||<width="283px" height="19.75pt" 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;">Required for
running Derby harness tests ||
+ ||<width="283px" height="19.75pt" 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;">jakarta-oro-2.0.8.jar  (trunk\tools\java) ||<width="283px" height="19.75pt" 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;">Required for
running Derby harness tests ||
  ||<width="283px" 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;">derbyTesting.jar
||<width="283px" 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;">test files and classes ||
  ||<width="283px" 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;">derby.jar
||<width="283px" 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;">main derby package classes ||
  ||<width="283px" 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;">derbytools.jar
||<width="283px" 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;">derby tools classes for tools like ij   and dblook ||
  ||<width="283px" 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;">derbyrun.jar
||<width="283px" 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;">executable jar file for tools like ij   and dblook ||
  ||<width="283px" 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;">derbynet.jar
||<width="283px" 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;">derby network server classes ||
- ||<rowstyle=""width="283px" height="20.2pt" 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;">derbyclient.jar ||<width="283px" height="20.2pt" 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;">derby client classes ||
+ ||<width="283px" height="20.2pt" 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;">derbyclient.jar ||<width="283px" height="20.2pt" 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;">derby client classes ||
  ||<width="283px" 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;">junit.jar
||<width="283px" 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;">assertion-based test machinery. It needs to be   manually put into
trunk/tools/java directory.     See BUILDING.html for details.   It is required for running
JUnit tests in Derby ||
  
  
@@ -57, +57 @@

  
  
   . b)     __  ____Building Derby from source:__
-  .       Refer to [[http://svn.apache.org/viewvc/db/derby/code/trunk/BUILDING.html?view=co|BUILDING.html]]
for  detailed instructions.
+  . Refer to [[http://svn.apache.org/viewvc/db/derby/code/trunk/BUILDING.html?view=co|BUILDING.html]]
for  detailed instructions.
   .  . c)      __ ____Running Regression Tests__
-  .  .     A quick introduction to get started:  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]]
?
+  . .     A quick introduction to get started:  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 run
+  .  . .     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 run
-  .     all the JUnit tests in Derby), add junit.jar to your classpath and run:
+  .   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)
+  . .     (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=co|Testing
README]]
+  .  .    For detailed information about tests, refer [[http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/README.htm?view=co|Testing
README]]
  
  '''Developer Tips:'''
  

Mime
View raw message