openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mprud...@apache.org
Subject svn commit: r531075 - /incubator/openjpa/trunk/openjpa-examples/src/main/java/build.xml
Date Sat, 21 Apr 2007 18:20:46 GMT
Author: mprudhom
Date: Sat Apr 21 11:20:45 2007
New Revision: 531075

URL: http://svn.apache.org/viewvc?view=rev&rev=531075
Log:
Use absolute path for derby database to ensure that the database is always places with the
example code.

Modified:
    incubator/openjpa/trunk/openjpa-examples/src/main/java/build.xml

Modified: incubator/openjpa/trunk/openjpa-examples/src/main/java/build.xml
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-examples/src/main/java/build.xml?view=diff&rev=531075&r1=531074&r2=531075
==============================================================================
--- incubator/openjpa/trunk/openjpa-examples/src/main/java/build.xml (original)
+++ incubator/openjpa/trunk/openjpa-examples/src/main/java/build.xml Sat Apr 21 11:20:45 2007
@@ -24,7 +24,8 @@
 
     <!-- database connection properties -->
     <property name="dbdriver" value="org.apache.derby.jdbc.EmbeddedDriver"/>
-    <property name="dburl" value="jdbc:derby:${example}-database;create=true"/>
+    <property name="dburl"
+        value="jdbc:derby:${basedir}/${example}-database;create=true"/>
     <property name="dbuser" value=""/>
     <property name="dbpass" value=""/>
 



Mime
View raw message