Publishing a script

Eclipse Monkey scripts are short and easily published to blogs, wikis, bugzillas, and all sorts of other places. To publish one (or more) scripts, select the files in the Navigator and use the Copy for Publication... context pop-up menu. Eclipse Monkey provides different publication formats for different destinations, e.g., blogs typically use HTML, wikis use indented text, bugzilla uses straight text, etc. The pop-up menu places the scripts on the clipboard for you to paste into your blog/wiki/bugzilla/whatever.

Eclipse Monkey decorates each script with Jabberwocky-inspired header and footer - you should leave these on as they are necessary for the script retrieval system (described below).

Retrieving a script

When you see a script that you like - in a blog, on a web page, in an email, or whereever - Eclipse Monkey has a quick and easy retrieval mechanism.

  1. Select all the text on the web page (on a Macintosh use Cmd-A; on a Windows box use Ctrl-A)
  2. Copy the text (Cmd-C or Ctrl-C)
  3. Switch to Eclipse (Cmd-Tab or Alt-Tab)
  4. Use the Monkey / Paste New Script menu item

The Paste New Script menu finds the Jabberwocky-inspired headers and footers, extracts the scripts between them, and places them into new script *.em files. These new script files are placed in the "Eclipse Monkey Scripts" project (which is, of course, created if it doesn't exist yet). After you test the new script, you can move it to your own project or leave it in the "Eclipse Monkey Scripts" project or publish it in your own blog or ...