You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tomee.apache.org by bu...@apache.org on 2014/04/22 12:33:42 UTC

svn commit: r906488 - in /websites/staging/tomee/trunk: cgi-bin/ content/ content/configuring-datasources.html content/examples-trunk/datasource-versioning/README.html

Author: buildbot
Date: Tue Apr 22 10:33:41 2014
New Revision: 906488

Log:
Staging update by buildbot for tomee

Modified:
    websites/staging/tomee/trunk/cgi-bin/   (props changed)
    websites/staging/tomee/trunk/content/   (props changed)
    websites/staging/tomee/trunk/content/configuring-datasources.html
    websites/staging/tomee/trunk/content/examples-trunk/datasource-versioning/README.html

Propchange: websites/staging/tomee/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Apr 22 10:33:41 2014
@@ -1 +1 @@
-1589046
+1589075

Propchange: websites/staging/tomee/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Apr 22 10:33:41 2014
@@ -1 +1 @@
-1589046
+1589075

Modified: websites/staging/tomee/trunk/content/configuring-datasources.html
==============================================================================
--- websites/staging/tomee/trunk/content/configuring-datasources.html (original)
+++ websites/staging/tomee/trunk/content/configuring-datasources.html Tue Apr 22 10:33:41 2014
@@ -157,6 +157,20 @@ can abbreviated to just <em>DataSource</
 &lt;Resource&gt;
 </code></pre>
 
+<p>It is also possible to specify the path to the drive jar file using a classpath attribute like so:  </p>
+
+<pre><code>&lt;Resource id="myDerbyDatasource" type="DataSource" classpath="/path/to/driver.jar"&gt;
+ . . . .
+&lt;Resource&gt;
+</code></pre>
+
+<p>...Or in a <a href="http://maven.apache.org/">Maven</a> environment like so:</p>
+
+<pre><code>&lt;Resource id="myDerbyDatasource" type="DataSource" classpath="mvn:org.apache.derby:derby:10.10.1.1"&gt;
+ . . . .
+&lt;Resource&gt;  
+</code></pre>
+
 <p>See <a href="containers-and-resources.html">Containers and Resources</a>
  for a complete list of supported DataSource properties.</p>
 

Modified: websites/staging/tomee/trunk/content/examples-trunk/datasource-versioning/README.html
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/datasource-versioning/README.html (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/datasource-versioning/README.html Tue Apr 22 10:33:41 2014
@@ -145,7 +145,7 @@ two completely different driver files fo
 
 <h1>AlternateDataSourceTest.java</h1>
 
-<p>This test utilizes the Arquillian testing framework. See <a href="arquillian-available-adapters.html">here</a> for more details.</p>
+<p>This test utilizes the Arquillian testing framework. See <a href="http://tomee.apache.org/arquillian-available-adapters.html">here</a> for more details.</p>
 
 <p>The example uses src/test/resources/arquillian.xml and src/test/conf/tomee.xml to define the DataSources.
 Note the differing driver version paths, yet still using the same provider (org.apache.derby.jdbc.EmbeddedDriver):</p>