Skip to content

Not directly related to OPMLtoMM, but Jython ... refreshing/reloading Jython scripts #1

@petonic

Description

@petonic

Firstly, thank you very much for writing the instructions for executing Jython scripts within Freeplane. They work.

Unfortunately, Freeplane doesn't seem to refresh what it thinks the contents of a .py file is unless you bounce the Freeplane App (I'm using macOS SIerra running the latest stable Freeplane -- 1.5.21 using the embedded JRS 1.8.0_131).

I know that I can do some groovy trickery and use PythonInterpreter.execfile('/abspath/to/script'), but that seems hokey, and then I need two scripts for each Python script (the .groovy wrapper and the actual .py script).

Do you know how to force Freeplane or Jython to 'refresh' what it thinks is the contents of the script file? Much thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions