code: protected void deleteWsdlPublishDirectory(File dir) throws IOException
     {
        String[] files = dir.list();
        for (int i = 0; files != null && i < files.length; i++)
        {
           String fileName = files[i];
           File file = new File(dir + "/" + fileName);
           if (file.isDirectory())
           {
              deleteWsdlPublishDirectory(file);
           }
           else
           {
              if (file.delete() == false)
                 DEPLOYMENT_LOGGER.cannotDeletePublishedWsdlDoc(file.toURI().toURL());
           }
        }
  
        // delete the directory as well
        if (dir.delete() == false) {
           DEPLOYMENT_LOGGER.cannotDeletePublishedWsdlDoc(dir.toURI().toURL());
        }
     }
docs: Delete the published wsdl document, traversing down the dir structure