arminw      2005/01/18 10:26:45

  Modified:    src/doc/forrest/src/documentation/content/xdocs/docu/testing
                        testsuite.xml
  Log:
  add howto run test-suite with different DB than hsql
  
  Revision  Changes    Path
  1.2       +38 -1     
db-ojb/src/doc/forrest/src/documentation/content/xdocs/docu/testing/testsuite.xml
  
  Index: testsuite.xml
  ===================================================================
  RCS file: 
/home/cvs/db-ojb/src/doc/forrest/src/documentation/content/xdocs/docu/testing/testsuite.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- testsuite.xml     20 Jun 2004 09:12:37 -0000      1.1
  +++ testsuite.xml     18 Jan 2005 18:26:45 -0000      1.2
  @@ -42,6 +42,7 @@
               </p>
           </section>
   
  +        <anchor id="run-test-suite"/>
           <section>
               <title>How to run the Test Suite</title>
               <p>
  @@ -114,6 +115,42 @@
                   steps. If you still have problems you might post a request to
                   the OJB user mailinglist.
               </p>
  +
  +            <anchor id="change-database"/>
  +            <section>
  +                <title>How to run the test-suite with a different database 
than OJB default DB</title>
  +                <p>
  +                    Basically all you have to do is:
  +                </p>
  +                <ul>
  +                    <li>
  +                        Get source version of OJB or fetch OJB from CVS 
(take care of
  +                        branches, branch OJB_1_0_RELEASE represents OJB 
1.0.x).
  +                    </li>
  +                    <li>
  +                        Adapt the profile file of your database under
  +                        <code>[db-ojb]/profile/yourDB.profile</code> and set 
user, password, ...
  +                    </li>
  +                    <li>
  +                        In <code>[db-ojb]/build.properties</code> file 
comment the
  +                        "profile=hsqldb" line and uncomment the 
"#profile=yourDB" line.
  +                    </li>
  +                    <li>
  +                        Drop jdo.jar and your database driver into
  +                        <code>[db-ojb]/lib</code> directory.
  +                    </li>
  +                    <li>
  +                        Drop <em>junit.jar</em> into your 
<code>...ant/lib</code> folder.
  +                    </li>
  +                    <li>
  +                        Make sure that your database allows at least 20 
concurrent connections.
  +                    </li>
  +                </ul>
  +                <p>
  +                    Then follow the steps described <link 
href="#run-test-suite">above</link>.
  +                </p>
  +            </section>
  +
           </section>
   
           <section>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to