Configure Rhino Shell to work in Eclipse PDT
I recently found an article on javascript mixins by Angus Croll "A fresh look at JavaScript Mixins" and i needed to practice on some of the mixin techniques which he discussed, I tried running the javascipt files with cscript.exe, wscript.exe for windows by to no avail. The I did a google search and found Rhino Shell for windows.
I was able to install and use Rhino Shell quite easily but it would work best if it was integrated in my IDE , "Eclipse PDT" from Zend. After some googling I was able to configure eclipse to work and with a single click I can execute and debug the javascript scripts.
Below is a screenshot of the configuration settings.