Difference between revisions of "FreeplaneJrubyInstaller Addon"

From Freeplane - free mind mapping and knowledge management software
Line 2: Line 2:
  
 
Its an addon to '''add support for .rb (ruby) scripts in Freeplane''', so that you can use .groovy .js '''and .rb''' scripts
 
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 supports .groovy and .js (javascript) scripts out-of-the-box. This addon adds support for .rb (ruby) scripts, enabling you to use:
Line 15: Line 17:
 
=== Install FreeplaneJrubyInstaller in Freeplane ===
 
=== Install FreeplaneJrubyInstaller in Freeplane ===
  
You dont need to manually download anything, all downloads are automatic, just follow the instructions bellow:
+
You dont need to manually download anything, all downloads are automatic.
  
 +
To install the addon follow the instructions bellow (to enlarge an image, click on 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/
 
* Check that your Java version is >= 1.7 (Jruby requires it). If you want to update your Java, goto https://java.com/en/download/
<gallery widths=120px heights=120px>
+
 
File:img0.png
+
[[File:img0.png|frame|400x200px|none|link={{filepath:img0.png}}]]
</gallery>
 
  
  
Line 27: Line 29:
 
* Follow me:
 
* Follow me:
  
[[File:img1.png]]<br />
+
[[File:img1.png|frame|400x200px|none|link={{filepath:img1.png}}]]<br />
[[File:img2.png]]<br />
+
[[File:img2.png|frame|400x200px|none|link={{filepath:img2.png}}]]<br />
[[File:img3.png]]<br />
+
[[File:img3.png|frame|400x200px|none|link={{filepath:img3.png}}]]<br />
[[File:img4.png]]<br />
+
[[File:img4.png|frame|400x200px|none|link={{filepath:img4.png}}]]<br />
[[File:img5.png]]<br />
+
[[File:img5.png|frame|400x200px|none|link={{filepath:img5.png}}]]<br />
[[File:img6.png]]
+
[[File:img6.png|frame|400x200px|none|link={{filepath:img6.png}}]]<br />
 +
 
  
 
* Open Freeplane for a second-time, and:
 
* Open Freeplane for a second-time, and:
  
[[File:img7.png]]<br />
+
[[File:img7.png|frame|400x200px|none|link={{filepath:img7.png}}]]<br />
[[File:img8.png]]<br />
+
[[File:img8.png|frame|400x200px|none|link={{filepath:img8.png}}]]<br />
[[File:img9.png]]<br />
+
[[File:img9.png|frame|400x200px|none|link={{filepath:img9.png}}]]<br />
[[File:img10.png]]
+
[[File:img10.png|frame|400x200px|none|link={{filepath:img10.png}}]]<br />
 +
 
  
 
* Open Freeplane for a third-time, and:
 
* Open Freeplane for a third-time, and:
  
[[File:img11.png]]
+
[[File:img11.png|frame|400x200px|none|link={{filepath:img11.png}}]]<br />
  
 
* The following final window should appear, which indicates that Jruby is now installed in Freeplane. Hurray!
 
* The following final window should appear, which indicates that Jruby is now installed in Freeplane. Hurray!
  
[[File:img12.png]]
+
[[File:img12.png|frame|400x200px|none|link={{filepath:img12.png}}]]<br />

Revision as of 11:36, 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.

To install the addon follow the instructions bellow (to enlarge an image, click on it):

Img0.png


Img1.png


Img2.png


Img3.png


Img4.png


Img5.png


Img6.png



  • Open Freeplane for a second-time, and:
Img7.png


Img8.png


Img9.png


Img10.png



  • Open Freeplane for a third-time, and:
Img11.png


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