[ 
https://issues.apache.org/jira/browse/SOLR-5918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14292625#comment-14292625
 ] 

Steve Rowe commented on SOLR-5918:
----------------------------------

The {{clean}} target is set up now to delete {{server/solr/zoo_data}}, and the 
solr homes created by {{bin/solr -e <example>}} under {{example/}} are removed.

{{server/solr/zoo_data/}} isn't getting deleted though.  At this point the only 
problem appears to be that there's a missing trailing slash after the directory 
in the {{<include>}} - when I add the slash the directory is deleted:

{code:xml}
Index: solr/build.xml
===================================================================
--- solr/build.xml      (revision 1654902)
+++ solr/build.xml      (working copy)
@@ -319,7 +319,7 @@
       </fileset>
       <fileset dir="server">
         <include name="**/data/**/*" />
-        <include name="solr/zoo_data" />
+        <include name="solr/zoo_data/" />
         <include name="start.jar" />
         <include name="logs/*" />
         <include name="webapps/**/*" />
{code}

Committing shortly.

> ant clean does not remove ZooKeeper data
> ----------------------------------------
>
>                 Key: SOLR-5918
>                 URL: https://issues.apache.org/jira/browse/SOLR-5918
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Varun Thacker
>            Priority: Minor
>         Attachments: SOLR-5918.patch
>
>
> From the solr/ directory when I run 'ant clean' it cleans up all the 
> necessary compiled files etc.
> This also removes the indexes rightly so, but fails to delete the ZooKeeper 
> data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to