Task #2057

Updated by Sebastien Jacquot over 2 years ago

Extract and create plug-ins for each external lib used in TXM. The plugin vendor should be set to the developer of the lib. Also store and diffuse the licenses. All this data should be visible in the Installation and in the P2 Update windows.

h3. Extraction

h4. Done

* colt-1.2.0.jar [wrapper plug-in = done, about.html = done, licences = done]
* JFreeChart/JCommon [wrapper plug-in = done (only 1: org.txm.libs.jfreechart), about.html = done, licences = done]
* JFreeSVG [wrapper plug-in = done, about.html/licence = done]

h4. //TODO

Batik [wrapper [wrapping plug-in = done, but can't find the version number we are using. Plus, the official Apache Batik plug-in is already installed in TXM/Eclipse Luna build (at least under Windows), see if it is sufficient for charts export because at this moment some Batik .jar are doubled]
* Groovy-all [wrapper [wrapping plug-in = done, TODO: is it a custom or an external lib?]
* Saxon [wrapper JFreeChart/JCommon [wrapping plug-in = done, about.html about.html/licences = TODO: can't find the version we are using, licence = TODO] done]
* REngine.jar, RServeEngine.jar [wrapper JFreeSVG [wrapping plug-in = done (only 1: org.txm.libs.rserve), about.html done, about.html/licence = TODO: can't find the version we are using, licence = done]
* -IText [wrapper [wrapping plug-in = done] [need to upgrade or change this lib, see: http://www.lowagie.com/iText. This lib was used by some functionalities of the toolbox but now is only used to export chart as PDF from JFreeChart but also from SVG Batik viewer, see new issue: http://forge.cbp.ens-lyon.fr/redmine/issues/2218]-
* Apache libs: commons-cli, common-io, etc. (first of all, need to check that theses libs are not already present in Saxon [done, but can't find the Eclipse Luna version number we use, also it may be better to use our "own" version?) are using.]
* sqltools.jar doesn't seem to bu used? at least in basic TXM distrib colt-1.2.0.jar [wrapping plug-in = done, about.html/licences = done]
* ant libs (first of all, REngine.jar, RServeEngine.jar has been moved to org.txm.statsengine.r.core/lib => need to check that theses libs are not already present in define the Eclipse Luna we use, also it may be better interest to use our "own" version?) split them in 2 plug-ins or not, at least 1 for licensing and client updates purposes.


h3. Validation tests

* go to "Installation Details\Plug-ins" tab
* check the "provider" column for each plug-in
* check the "Legal Info" for each plug-in (about.html)