You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by mp...@apache.org on 2007/04/21 20:20:46 UTC
svn commit: r531075 -
/incubator/openjpa/trunk/openjpa-examples/src/main/java/build.xml
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=""/>