Working with zipped staticresources in Eclipse IDE
As I work toward mastering Salesforce's APEX language one of the thing that surprised me is the convention to store static resources (js, css, images, etc.) as a zipped archive in the Salesforce.com cloud; my uneducated guess this is so to avoid the Data limit imposted.
To Edit staticresources in Eclipse IDE directly (most of my Team uses Sublime + Maven which I am evaluating and those experiences are for another blog) one could use the Eclipse Zip Editor plugin, however it does not have a handy url install and requires a manual one.
Installing Eclipse Zip Plugin
There is no friendly site install url, and selecting the local or archive install results in Eclipse throwing an error; the only way I was able to install is using Eclipse dropins folder mechanism.
- Download Eclipse Zip Editor form their site
- Unzip the plugin
- In the unziped folder navigate to the subfolder plugins
- Copy the file
- Navigate to your Eclipse IDE installation and to the folder 'dropins' and paste the jar file
- Restart Eclipse
Using the Eclipse Zip Plugin
After Eclipse IDE reboots it might not be obvious how to use the plugin, to do so navigate to a zip staticresource, right click, and choose the ZIP Editor from the list
Feel free to comment and follow me on twitter @danielsokolows.