Skip to content

Eclipse plugin extraction

Eclipse plugin extraction is a process used to isolate specific plugins—such as those installed via the Eclipse Marketplace—into a separate directory structure. This allows for manual management and persistence of plugins by moving them into the Eclipse dropins folder^[600-developer__tools__extract-the-eclipse-plugin.md].

Overview

The general workflow involves installing the desired plugin through the marketplace to retrieve its files, locating those files within the Eclipse directory, and then copying them to a custom location within the dropins folder^[600-developer__tools__extract-the-eclipse-plugin.md].

Prerequisites

  • A ZIP version of Eclipse or Spring Tool Suite (STS)^[600-developer__tools__extract-the-eclipse-plugin.md].
  • Target plugin installed (e.g., console Grep)^[600-developer__tools__extract-the-eclipse-plugin.md].

Process Steps

  1. Install and Locate: Use the Eclipse Marketplace to install the target plugin. Navigate to the Eclipse installation directory to find the installed files (typically in features and plugins directories) and copy them to a temporary location^[600-developer__tools__extract-the-eclipse-plugin.md].
  2. Clean Up: Uninstall the plugin via the marketplace and close Eclipse^[600-developer__tools__extract-the-eclipse-plugin.md].
  3. Relocate: Paste the copied files into the dropins directory following a specific structure^[600-developer__tools__extract-the-eclipse-plugin.md].
  4. Restart: Launch Eclipse to load the plugin from the new location^[600-developer__tools__extract-the-eclipse-plugin.md].

Directory Structure

The extracted plugin must be organized in the dropins folder using a standard subdirectory hierarchy^[600-developer__tools__extract-the-eclipse-plugin.md].

Target Structure:

eclipse/
  dropins/
    [plugin_name]/eclipse/
      features/   // Paste feature files here
      plugins/    // Paste plugin files here
  • [plugin_name]: A custom directory name for the plugin (e.g., console).
  • eclipse: A mandatory intermediate directory.
  • features & plugins: The standard Eclipse folders containing the actual plugin artifacts^[600-developer__tools__extract-the-eclipse-plugin.md].
  • [[Eclipse]]
  • [[Software Development Tools]]

Sources

^[600-developer__tools__extract-the-eclipse-plugin.md]