roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r540677 - /roller/trunk/build.xml
Date Tue, 22 May 2007 18:23:32 GMT
Author: snoopdave
Date: Tue May 22 11:23:28 2007
New Revision: 540677

URL: http://svn.apache.org/viewvc?view=rev&rev=540677
Log:
Ensure dbscripts are generated on 'rebuild'

Modified:
    roller/trunk/build.xml

Modified: roller/trunk/build.xml
URL: http://svn.apache.org/viewvc/roller/trunk/build.xml?view=diff&rev=540677&r1=540676&r2=540677
==============================================================================
--- roller/trunk/build.xml (original)
+++ roller/trunk/build.xml Tue May 22 11:23:28 2007
@@ -37,8 +37,8 @@
 <!-- ********************************************************************* -->
 <project name="roller" default="usage">
 
-<available file="./build/webapp/WEB-INF/dbscripts/derby/createdb.sql" 
-    property="dbscripts-exist" />
+<!-- Only gen dbscripts if they do not already exist -->
+<available file="./build/webapp/WEB-INF/dbscripts/derby/createdb.sql" property="dbscripts-exist"
/>
 
 <!-- Bring in properties.xml -->
 &properties;
@@ -84,6 +84,7 @@
 </target>
 
 <target name="rebuild" depends="clean,all" description="Clean and build all">
+    <antcall target="gen-dbscripts" />
 </target>
 
 <target name="clean" description="Clean out build and dist directory">



Mime
View raw message