Difference between revisions of "FreeplaneJrubyInstaller Addon"

From Freeplane - free mind mapping and knowledge management software
(Created page with "Ok, good title")
 
m
Line 1: Line 1:
Ok, good title
+
=== What is FreeplaneJrubyInstaller ===
 +
 
 +
Its an addon to '''add 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:
 +
 
 +
<code>&lt;freeplane-user-dir&gt;/scripts/my_ruby_script.rb</code> besides .groovy and .js scripts
 +
 
 +
It does this by using internally the [http://jruby.org/ Jruby interpreter], which is capable of running ruby scripts with access to Java objects (Freeplane-java-objects!)
 +
 
 +
=== Install FreeplaneJrubyInstaller in Freeplane ===
 +
 
 +
* You dont need to manually download anything, all downloads are automatic, just follow the instructions bellow :)
 +
* Check that your Java version is &gt;= 1.7 (Jruby requires it). If you want to update your Java, goto https://java.com/en/download/
 +
 
 +
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/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>
 +
* Follow me:
 +
 
 +
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img1.png]]<br />
 +
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img2.png]]<br />
 +
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img3.png]]<br />
 +
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img4.png]]<br />
 +
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img5.png]]<br />
 +
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img6.png]]
 +
 
 +
* Open Freeplane for a second-time, and:
 +
 
 +
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img7.png]]<br />
 +
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img8.png]]<br />
 +
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img9.png]]<br />
 +
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img10.png]]
 +
 
 +
* Open Freeplane for a third-time, and:
 +
 
 +
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img11.png]]
 +
 
 +
* The following final window should appear, which indicates that Jruby is now installed in Freeplane. Hurray!
 +
 
 +
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img12.png]]

Revision as of 10:14, 11 April 2016

What is FreeplaneJrubyInstaller

Its an addon to add 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

It does this by using internally the Jruby interpreter, which is capable of running ruby scripts with access to Java objects (Freeplane-java-objects!)

Install FreeplaneJrubyInstaller in Freeplane

  • You dont need to manually download anything, all downloads are automatic, just follow the instructions bellow :)
  • Check that your Java version is >= 1.7 (Jruby requires it). If you want to update your Java, goto https://java.com/en/download/

File:Https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img0.png

File:Https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img1.png
File:Https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img2.png
File:Https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img3.png
File:Https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img4.png
File:Https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img5.png
File:Https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img6.png

  • Open Freeplane for a second-time, and:

File:Https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img7.png
File:Https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img8.png
File:Https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img9.png
File:Https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img10.png

  • Open Freeplane for a third-time, and:

File:Https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img11.png

  • The following final window should appear, which indicates that Jruby is now installed in Freeplane. Hurray!

File:Https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img12.png