Scarab commit: svn commit: r10212 - branches/release/b21/maven.xml

[email protected]
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: dabbous
Date: 2006-07-22 02:34:45-0700
New Revision: 10212

Modified:
   branches/release/b21/maven.xml

Log:
added a target migrate-from-b20 to maven

Modified: branches/release/b21/maven.xml
Url: http://scarab.tigris.org/source/browse/scarab/branches/release/b21/maven.xml?view=diff&rev=10212&p1=branches/release/b21/maven.xml&p2=branches/release/b21/maven.xml&r1=10211&r2=10212
==============================================================================
--- branches/release/b21/maven.xml	(original)
+++ branches/release/b21/maven.xml	2006-07-22 02:34:45-0700
@@ -46,6 +46,19 @@
             <property name="torque.database.password" value="${scarab.database.password}"/>
         </ant:ant>
     </goal>
+
+
+    <goal name="scarab:migrate-from-b20">
+        <ant:ant antfile="build.xml"
+             target="migrate-from-b20"
+                 inheritAll="false"
+                 dir="${runtime.config.dir}">
+            <property name="torque.database.driver"   value="${scarab.database.jdbc.driver}"/>
+            <property name="torque.database.url"      value="${scarab.database.url}"/>
+            <property name="torque.database.user"     value="${scarab.database.username}"/>
+            <property name="torque.database.password" value="${scarab.database.password}"/>
+        </ant:ant>
+    </goal>
     
     <goal name="scarab:database">
 <ant:echo>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.