roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r493592 - /incubator/roller/trunk/build.xml
Date Sat, 06 Jan 2007 23:07:49 GMT
Author: snoopdave
Date: Sat Jan  6 15:07:48 2007
New Revision: 493592

URL: http://svn.apache.org/viewvc?view=rev&rev=493592
Log:
Define Derby tasks in start/stop db targets

Modified:
    incubator/roller/trunk/build.xml

Modified: incubator/roller/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/build.xml?view=diff&rev=493592&r1=493591&r2=493592
==============================================================================
--- incubator/roller/trunk/build.xml (original)
+++ incubator/roller/trunk/build.xml Sat Jan  6 15:07:48 2007
@@ -891,12 +891,6 @@
             excludes="**/*.java, **/*.html, **/*.png" />
     </copy>
     
-    <!-- register Ant tasks that were just built -->
-    <taskdef name="startdb" classname="org.apache.roller.ant.StartDerbyTask" 
-        classpath="${ro.tools}/buildtime/derby.jar;${ro.tools}/buildtime/derbynet.jar;${build.compile.tests}"
/>
-    <taskdef name="stopdb" classname="org.apache.roller.ant.StopDerbyTask" 
-        classpath="${ro.tools}/buildtime/derby.jar;${ro.tools}/buildtime/derbynet.jar;${build.compile.tests}"
/>
-    
     <!-- 
     Copy web config files to ${build.tests} to make them available for testing.
     This includes the WEB-INF directory, minus jsps
@@ -1176,6 +1170,8 @@
 </target>
 
 <target name="start-db" description="Starts built-in database">  
+    <taskdef name="startdb" classname="org.apache.roller.ant.StartDerbyTask" 
+        classpath="${ro.tools}/buildtime/derby.jar;${ro.tools}/buildtime/derbynet.jar;${build.compile.tests}"
/>
     <startdb database="${build.tests}/derby-system/roller" port="3219" />
     <!-- 
     <delete dir="${build.tests}/derby-system/roller" />
@@ -1191,6 +1187,8 @@
 </target>
         
 <target name="stop-db" description="Drop tables and stops the built-in database"> 
 
+    <taskdef name="stopdb" classname="org.apache.roller.ant.StopDerbyTask" 
+        classpath="${ro.tools}/buildtime/derby.jar;${ro.tools}/buildtime/derbynet.jar;${build.compile.tests}"
/>
     <stopdb port="3219"/>
     <!--
     <delete dir="${build.tests}/derby-system/roller" />



Mime
View raw message