db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r419289 - in /db/torque/test/trunk/test-project: maven.xml project.xml
Date Wed, 05 Jul 2006 17:27:45 GMT
Author: tfischer
Date: Wed Jul  5 10:27:45 2006
New Revision: 419289

URL: http://svn.apache.org/viewvc?rev=419289&view=rev
Log:
Added ddlutils to dependencies and as a maven task. This is not yet complete.

Modified:
    db/torque/test/trunk/test-project/maven.xml
    db/torque/test/trunk/test-project/project.xml

Modified: db/torque/test/trunk/test-project/maven.xml
URL: http://svn.apache.org/viewvc/db/torque/test/trunk/test-project/maven.xml?rev=419289&r1=419288&r2=419289&view=diff
==============================================================================
--- db/torque/test/trunk/test-project/maven.xml (original)
+++ db/torque/test/trunk/test-project/maven.xml Wed Jul  5 10:27:45 2006
@@ -238,4 +238,28 @@
     <attainGoal name="torque-test:install-run" />
   </goal>
 
+  <goal name="torque-test:ddlutils"
+      prereqs="torque-test:prepare"
+      description="tests torque with ddlutils">
+
+    <path id="torque-classpath">
+      <pathelement path="${pom.getDependencyClasspath()}"/>
+      <!--path refid="maven.dependency.classpath"/-->
+    </path>
+    <taskdef name="ddlToDatabase"
+    	classpathref="torque-classpath"
+        classname="org.apache.ddlutils.task.DdlToDatabaseTask"/>
+
+    <ddlToDatabase>
+      <database url="${torque.database.buildUrl}"
+          driverClassName="${torque.database.driver}"
+          username="${torque.database.user}"
+          password="${torque.database.password}"/>
+      <fileset dir="target/schema">
+        <include name="test-schema.xml"/>
+      </fileset>
+      <writeSchemaToDatabase/> 
+    </ddlToDatabase>
+  </goal>
+
 </project>

Modified: db/torque/test/trunk/test-project/project.xml
URL: http://svn.apache.org/viewvc/db/torque/test/trunk/test-project/project.xml?rev=419289&r1=419288&r2=419289&view=diff
==============================================================================
--- db/torque/test/trunk/test-project/project.xml (original)
+++ db/torque/test/trunk/test-project/project.xml Wed Jul  5 10:27:45 2006
@@ -59,5 +59,21 @@
       <groupId>tomcat</groupId>
       <version>5.0.28</version>
     </dependency>
+    
+    <dependency>
+      <artifactId>ddlutils</artifactId>
+      <groupId>ddlutils</groupId>
+      <version>1.0-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <artifactId>commons-betwixt</artifactId>
+      <groupId>commons-betwixt</groupId>
+      <version>0.7</version>
+    </dependency>
+    <dependency>
+      <artifactId>commons-digester</artifactId>
+      <groupId>commons-digester</groupId>
+      <version>1.7</version>
+    </dependency>
   </dependencies>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message