#1054 FreeMind 0.9.0 searches Export XSLT relative to curr. dir

_FreeMind_0.9.0
open
5
2011-08-06
2011-08-06
Raman Gupta
No

FreeMind 0.9.0 searches Export XSLT relative to curr. dir. I am using Freemind on Fedora 14. accessories directory is in /usr/share/freemind, and the freemind.base.dir is also set to that directory.

When running freemind from my home directory and doing an XHTML export, I get:

Aug 6, 2011 6:26:37 PM accessories.plugins.ExportWithXSLT transformMapWithXslt
SEVERE: Can't find accessories/toxhtml.xsl as resource.
Aug 6, 2011 6:26:37 PM freemind.main.Resources logException
SEVERE: An exception occured:
java.lang.IllegalArgumentException: Can't find accessories/toxhtml.xsl as resource.
at accessories.plugins.ExportWithXSLT.transformMapWithXslt(ExportWithXSLT.java:277)

When doing the same thing, but first cd /usr/share/freemind before running freemind, it works fine.

Discussion

  • Sam Mingolelli
    Sam Mingolelli
    2011-09-16

    I think there is a path or java variable not getting set correctly. If I cd into the directory /usr/share/freemind and run freemind from there it's able to find the file toxhtml.xsl and generate the "as xhtml (javascript version) exported version of my mindmap. Otherwise I get this error message:

    SEVERE: Can't find accessories/toxhtml.xsl as resource.