Difference between revisions of "FreeplaneJrubyInstaller Addon"
(→How to install the FreeplaneJrubyInstaller Addon in Freeplane) |
(→How to install the FreeplaneJrubyInstaller Addon in Freeplane) |
||
Line 42: | Line 42: | ||
[[File:img0.png|frame|400x200px|none|link={{filepath:img0.png}}]] | [[File:img0.png|frame|400x200px|none|link={{filepath:img0.png}}]] | ||
− | * Copy to your clipboard THE-URL-TO-THE-ADDON: <code>https://raw.githubusercontent.com/zipizap/FreeplaneJrubyInstaller/master/addon_lab/FreeplaneJrubyInstaller-v1.6.addon.mm</code> | + | * Copy to your clipboard |
+ | |||
+ | THE-URL-TO-THE-ADDON: <code>https://raw.githubusercontent.com/zipizap/FreeplaneJrubyInstaller/master/addon_lab/FreeplaneJrubyInstaller-v1.6.addon.mm</code> | ||
+ | |||
* Follow the images: | * Follow the images: | ||
Revision as of 11:20, 25 April 2016
Contents
This page is still a work in progress
Hi you found this page before its finished.
My idea is to finish it and **only then** make an announcement in the forum, and ask to add links to it in the addons wiki page.
This is to avoid misunderstandings and be able to explain the addon and how to use it with some good explanations.
So, if you got here congratulations, but keep the secret! The addon is already in github, so if you cant wait anylonger knock yourself out :)
PS: This is progressing slow but steadly, at the rythm of my very scarce free time... dont worry though, all the coding is already finished and the addon ready, the last missing piece is to make some extense docs here in this wiki to explain how it works...
Introduction
This addon adds support for .rb (ruby) scripts in Freeplane, so that you can use .groovy .js and .rb scripts
Freeplane supports .groovy and .js (javascript) scripts out-of-the-box. This addon adds support for .rb (ruby) scripts, enabling you to use: <freeplane-user-dir>/scripts/my_ruby_script.rb
besides .groovy and .js scripts.
Also, after this addon is installed, other future plugins can as well make use of ruby scripts (via the "scripts" node, just like with .groovy scripts)
All this is possible because Freeplane was programmed with good design (applause to the devs :) ), using JSR223 that allows external scripting engines to be added, such as the Jruby interpreter that is capable of running ruby scripts with access to Java objects (Freeplane-java-objects!).
How to install the FreeplaneJrubyInstaller Addon in Freeplane
You dont need to manually download anything, all downloads are automatic.
To install the addon follow these instructions bellow (click on any image to enlarge it):
- Check that your Java version is >= 1.7 (Jruby requires it). If you want to update your Java, goto https://java.com/en/download/
- Copy to your clipboard
THE-URL-TO-THE-ADDON: https://raw.githubusercontent.com/zipizap/FreeplaneJrubyInstaller/master/addon_lab/FreeplaneJrubyInstaller-v1.6.addon.mm
- Follow the images:
- Open Freeplane for a second-time, and:
- Open Freeplane for a third-time, and:
- The following final window should appear, which indicates that Jruby is now installed in Freeplane. Hurray, the addon is installed!