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

svn commit: r1589075 - /tomee/site/trunk/content/configuring-datasources.mdtext

Author: andygumbrecht
Date: Tue Apr 22 10:32:21 2014
New Revision: 1589075

URL: http://svn.apache.org/r1589075
Log:
Classpath info

Modified:
    tomee/site/trunk/content/configuring-datasources.mdtext

Modified: tomee/site/trunk/content/configuring-datasources.mdtext
URL: http://svn.apache.org/viewvc/tomee/site/trunk/content/configuring-datasources.mdtext?rev=1589075&r1=1589074&r2=1589075&view=diff
==============================================================================
--- tomee/site/trunk/content/configuring-datasources.mdtext (original)
+++ tomee/site/trunk/content/configuring-datasources.mdtext Tue Apr 22 10:32:21 2014
@@ -28,7 +28,18 @@ can abbreviated to just _DataSource_ as 
     <Resource id="myDerbyDatasource" type="DataSource">
      . . . .
     <Resource>
+	
+It is also possible to specify the path to the drive jar file using a classpath attribute like so:	
 
+	<Resource id="myDerbyDatasource" type="DataSource" classpath="/path/to/driver.jar">
+     . . . .
+    <Resource>
+
+...Or in a [Maven](http://maven.apache.org/) environment like so:
+
+	<Resource id="myDerbyDatasource" type="DataSource" classpath="mvn:org.apache.derby:derby:10.10.1.1">
+     . . . .
+    <Resource>	
 
 See [Containers and Resources](containers-and-resources.html)
  for a complete list of supported DataSource properties.