Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for deleteInstalledArtifact (0.07 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                for (final Artifact a : artifacts) {
                    if (a.getName().equals(artifact.getName()) && !a.getVersion().equals(artifact.getVersion())) {
                        try {
                            pluginHelper.deleteInstalledArtifact(a);
                        } catch (final Exception e) {
                            logger.warn("Failed to delete {}", a.getFileName(), e);
                        }
                    }
                }
            }).start();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/PluginHelper.java

        /**
         * Deletes an installed artifact.
         *
         * @param artifact the artifact to delete
         * @throws PluginException if the artifact does not exist or deletion fails
         */
        public void deleteInstalledArtifact(final Artifact artifact) {
            final String fileName = artifact.getFileName();
            final Path jarPath = Paths.get(ResourceUtil.getPluginPath().toString(), fileName);
            if (!Files.exists(jarPath)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top