Monday, August 10, 2015

Extracting icons from Eclipse directory

I am always in need for icons that I want to use in my own plugins. Unfortunately hunting them down is quite a task that involves finding plugins that contain the icons, opening jar files and extracting the icons. To ease this task I wrote a little script that does this for you
for f in $FILES
 echo "Processing $f file\n:" 
 jar xf $f icons 
After running this script an icon folder will be created with all the icons extracted from the plugins directory. I suppose next logical step would be to enhance this script to query Eclipse repository directly.

Blogger Syntax Highliter