#42 Be able to give absolute classpath entries in plugin.xml

closed
nobody
None
5
2005-04-17
2005-03-01
Eric L.
No

Hello,

the attached patch allows, unter UN*X I must honestly
say, to give absolute path to jarfiles in the xml files
of plugins (e.g. freemind/plugins/ExportSvg.xml). This
helps me a lot packaging for Linux while using the jar
files already available there.

This said the patch doesn't make any difference for
other platforms if you continue to enter absolute paths.

Thanks, Eric

Discussion

  • Eric L.
    Eric L.
    2005-03-15

    The patch I forgot to attach...

     
  • Eric L.
    Eric L.
    2005-03-24

    Logged In: YES
    user_id=318488

    Hi,

    I had an additional look at this and there is a more elegant
    way to do this. Being on the road on a Windows computer
    (*iik*), here the poor mans diff:
    File file = new File(classPath.getJar());
    if (! file.isAbsolute()) {
    file = new File(getFreemindBaseDir(),
    classPath.getJar());
    }
    Much nicer and should work on any platform.

    Eric

     
    • status: open --> closed
     
  • Logged In: YES
    user_id=885594

    Hi Eric,

    thanks, the patch is integrated in the next version.

    Chris