Skip to content

Add script to extract traditional Eclipse icons for backup/restore#307

Open
vogella wants to merge 1 commit intoeclipse-platform:mainfrom
vogella:script_to_extract_old_svg_and_create_mapping
Open

Add script to extract traditional Eclipse icons for backup/restore#307
vogella wants to merge 1 commit intoeclipse-platform:mainfrom
vogella:script_to_extract_old_svg_and_create_mapping

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented Feb 24, 2026

ExtractTraditionalIcons.java reads icon-mapping.json and extracts every referenced icon from an existing Eclipse installation (JAR and directory plugins) into iconpacks/eclipse-traditional-icons/, preserving the plugin-relative path structure. It also writes icon-restore-mapping.json so a restore script knows which dual-tone icon replaced each original.

ExtractTraditionalIcons.java reads icon-mapping.json and extracts every
referenced icon from an existing Eclipse installation (JAR and directory
plugins) into iconpacks/eclipse-traditional-icons/, preserving the
plugin-relative path structure. It also writes icon-restore-mapping.json
so a restore script knows which dual-tone icon replaced each original.
@vogella vogella force-pushed the script_to_extract_old_svg_and_create_mapping branch from 56af7b8 to 9cb7961 Compare February 24, 2026 11:24
@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented Feb 24, 2026

@Michael5601 this script allows to extract the existing svg icons from an Eclipse installation and create a new folder with the old icons and mapping. This way we could change an installation back to the old icons.

@Michael5601
Copy link
Copy Markdown
Contributor

Michael5601 commented Feb 27, 2026

Thank you for your work @vogella. What is the idea behind this? Shall this program revert the changes your other bash script does for testing purposes?

Just so our perspectives are clear: The new dual tone icon pack will probably never fully replace the default eclipse icons as too many software products are based on these icons and also probably all marketplace plugins that introduce new icons are oriented on the old icons.
The new dual tone icon pack can only be used once we have a technical solution for changing icons in the Eclipse Settings so the user can switch between icon packs dynamically. We have not yet started to develop this solution. So currently we don't "lose" the default icons and thus need no way to restore them afaik.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants