Difference between revisions of "Scripting: Included libraries"

From Freeplane - free mind mapping and knowledge management software
m (Reverted edits by Dimitry (talk) to last revision by Haaihenkie)
(Tag: Rollback)
 
(7 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
__TOC__
 
__TOC__
  
The following libraries come with Freeplane and (there public interface) can be used within scripts:
+
OSGI allows to control exactly which packages should be exported by a library. By this means only a few of the libraries included in the Freeplane distribution are accessible by scripts:
  
@TODO
+
== Accessible libraries ==
  
[[Category:Scripting]]
+
* Allmost all packages of the <tt>freeplane</tt> project as listed in [http://freeplane.bzr.sf.net/bzr/freeplane/freeplane_program/release_branches/1_0_x/annotate/head%3A/freeplane/META-INF/MANIFEST.MF freeplane/META-INF/MANIFEST.MF] in section <tt>Export-Package</tt>.
 +
* [http://groovy.codehaus.org/Download groovy-all.jar] The groovy implementation comes with a large number of included libraries, e.g.
 +
** [http://www.antlr.org/ antlr]
 +
** [http://asm.ow2.org/ asm]
 +
** [http://commons.apache.org/cli/ commonscli]
 +
* [http://commons.apache.org/lang/ commons-lang] Utility classes (without <tt>builder</tt>, <tt>math</tt>, <tt>exception</tt> and <tt>time</tt>).
 +
* Java standard runtime library, <tt>jre/lib/rt.jar</tt>
 +
* [http://jortho.sourceforge.net/ Jortho] (since 1.2.22)
 +
 
 +
== Inaccessible libraries that are part of the distribution ==
 +
 
 +
Accessing the following libraries requires ''repackaging'' of Freeplane (the libraries are grouped by their project). If there there should be a common need to add certain packages/libraries, please file a feature request [https://sourceforge.net/p/freeplane/featurerequests/ here].
 +
 
 +
=== freeplane ===
 +
* SimplyHTML
 +
* forms
 +
* gnu-regexp
 +
 
 +
=== freeplane_plugin_help ===
 +
* jhall
 +
 
 +
=== freeplane_plugin_latex ===
 +
* jlatexmath
 +
 
 +
=== freeplane_plugin_svg ===
 +
* batik-anim
 +
* batik-awt-util
 +
* batik-bridge
 +
* batik-codec
 +
* batik-css
 +
* batik-dom
 +
* batik-ext
 +
* batik-extension
 +
* batik-gui-util
 +
* batik-gvt
 +
* batik-parser
 +
* batik-script
 +
* batik-svg-dom
 +
* batik-svggen
 +
* batik-swing
 +
* batik-transcoder
 +
* batik-util
 +
* batik-xml
 +
* js
 +
* pdf-transcoder
 +
* xerces_2_5_0
 +
* xml-apis-ext
 +
* xml-apis
 +
 
 +
[[Category:Script]]

Latest revision as of 11:27, 18 November 2018

Back to Scripting overview

OSGI allows to control exactly which packages should be exported by a library. By this means only a few of the libraries included in the Freeplane distribution are accessible by scripts:

Accessible libraries

Inaccessible libraries that are part of the distribution

Accessing the following libraries requires repackaging of Freeplane (the libraries are grouped by their project). If there there should be a common need to add certain packages/libraries, please file a feature request here.

freeplane

  • SimplyHTML
  • forms
  • gnu-regexp

freeplane_plugin_help

  • jhall

freeplane_plugin_latex

  • jlatexmath

freeplane_plugin_svg

  • batik-anim
  • batik-awt-util
  • batik-bridge
  • batik-codec
  • batik-css
  • batik-dom
  • batik-ext
  • batik-extension
  • batik-gui-util
  • batik-gvt
  • batik-parser
  • batik-script
  • batik-svg-dom
  • batik-svggen
  • batik-swing
  • batik-transcoder
  • batik-util
  • batik-xml
  • js
  • pdf-transcoder
  • xerces_2_5_0
  • xml-apis-ext
  • xml-apis