You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2013/09/05 16:29:34 UTC

svn commit: r1520326 - in /ofbiz/trunk: applications/content/build.xml build.xml

Author: jacopoc
Date: Thu Sep  5 14:29:34 2013
New Revision: 1520326

URL: http://svn.apache.org/r1520326
Log:
Moved and renamed (from clean-lucene-index to clean-search-indexes) the ant target to clean runtime data for search indexes from the content build.xml to the main build.xml file.

Modified:
    ofbiz/trunk/applications/content/build.xml
    ofbiz/trunk/build.xml

Modified: ofbiz/trunk/applications/content/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/build.xml?rev=1520326&r1=1520325&r2=1520326&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/build.xml (original)
+++ ofbiz/trunk/applications/content/build.xml Thu Sep  5 14:29:34 2013
@@ -60,9 +60,4 @@ under the License.
         <test-jar/>
     </target>
 
-    <target name="clean-lucene-index">
-        <delete verbose="on">
-            <fileset dir="../../runtime/data/indexes/" includes="*"/>
-        </delete>
-    </target>
 </project>

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1520326&r1=1520325&r2=1520326&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Thu Sep  5 14:29:34 2013
@@ -74,7 +74,7 @@ under the License.
         <antcall target="clean-catalina"/>
         <antcall target="clean-cache"/>
         <antcall target="clean-tempfiles"/>
-        <antcall target="clean-lucene-index"/>
+        <antcall target="clean-search-indexes"/>
         <!-- FIXME: clean-downloads introduces some issues: with cobertura (on Windows can't be deleted, not sure why), 
                     but especially with postgresql drivers -->
         <!-- antcall target="clean-downloads"/ -->   
@@ -140,11 +140,11 @@ under the License.
         </subant>
     </target>
 
-    <target name="clean-lucene-index"
-          description="Remove lucene indexes created in applications/content/index">
-        <subant target="clean-lucene-index">
-            <filelist dir="." files="applications/content/build.xml"/>
-        </subant>
+    <target name="clean-search-indexes"
+            description="Remove search indexes (e.g. Lucene indexes) created under runtime/data/indexes">
+        <delete includeemptydirs="true">
+            <fileset dir="./runtime/data/indexes" includes="**/*"/>
+        </delete>
     </target>
 
     <target name="tests" depends="ofbiz-init">