workaround for (FELIX-1676) explicitly delete the temporary artifacts related to sigil


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@820645 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/build.xml b/sigil/build.xml
index fd8b599..067e710 100644
--- a/sigil/build.xml
+++ b/sigil/build.xml
@@ -34,7 +34,8 @@
     <subant buildpath="bldcommon/prepare" target="resolve" />
   </target>
 
-  <target name="dist" depends="build, site" />
+  <!--target name="dist" depends="build, site" /-->
+  <target name="dist" depends="build" />
 
   <target name="clean" depends="clean-list, clean-site, clean-tmp" />
 
@@ -83,8 +84,13 @@
     <echo>${cache.dir}</echo>
     <delete includeemptydirs="true">
      <fileset dir="${cache.dir}" includes="all/org.apache-felix.sigil*"/>
-     <fileset dir="${cache.dir}" includes="all/org.apache/felix.sigil*"/>
+     <fileset dir="${cache.dir}" includes="all/org.apache/felix.sigil*/**"/>
      <fileset dir="${cache.dir}" includes="all/resolved-org.apache-felix.sigil*"/>
     </delete>
+    <delete includeemptydirs="true">
+     <dirset dir="${cache.dir}">
+       <include name="all/org.apache/felix.sigil*"/>
+     </dirset>
+    </delete>
   </target>
 </project>