code: public void removeOfflineJspFromRepository(CmsResource resource) throws CmsLoaderException {
  
          String jspName = getJspRfsPath(resource, false);
          Set<String> pathSet = new HashSet<String>();
          pathSet.add(resource.getRootPath());
          ReentrantReadWriteLock lock = getFileLock(jspName);
          lock.writeLock().lock();
          try {
              removeFromCache(pathSet, false);
              File jspFile = new File(jspName);
              jspFile.delete();
          } finally {
              lock.writeLock().unlock();
          }
      }
docs: Removes a JSP from an offline project from the RFS.<p>
  
  @param resource the offline JSP resource to remove from the RFS
  
  @throws CmsLoaderException if accessing the loader fails