db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r385306 - /db/ddlutils/trunk/build-sample.xml
Date Sun, 12 Mar 2006 16:24:29 GMT
Author: tomdz
Date: Sun Mar 12 08:24:28 2006
New Revision: 385306

URL: http://svn.apache.org/viewcvs?rev=385306&view=rev
Log:
Added db-creation target to the sample build file

Modified:
    db/ddlutils/trunk/build-sample.xml

Modified: db/ddlutils/trunk/build-sample.xml
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/build-sample.xml?rev=385306&r1=385305&r2=385306&view=diff
==============================================================================
--- db/ddlutils/trunk/build-sample.xml (original)
+++ db/ddlutils/trunk/build-sample.xml Sun Mar 12 08:24:28 2006
@@ -33,6 +33,19 @@
            name="databaseToDdl"
            classpathref="project-classpath"/>
 	
+  <target name="createDb">
+    <ddlToDatabase usedelimitedsqlidentifiers="false"
+                   catalogpattern="${catalogpattern}"
+                   schemapattern="${schemapattern}"
+                   databasetype="${platform}" >
+      <database driverclassname="${datasource.driverClassName}"
+                url="${datasource.url}"
+                username="${datasource.username}"
+                password="${datasource.password}"/> 
+      <createdatabase failonerror="false"/> 
+    </ddlToDatabase> 
+  </target>
+
   <target name="writeSchemaToDb">
     <ddlToDatabase validatexml="false" 
                    usedelimitedsqlidentifiers="false"



Mime
View raw message