Menu

Scripting Environment Setup: I can't get it right!!

2020-05-03
2020-05-06
  • Edo Frohlich

    Edo Frohlich - 2020-05-03

    Hi,
    I'm trying to set up a Scripting Environment as explained in the Wiki.
    (Win 10)
    1. I installed Eclipse (java developer version)
    2. installed OpenJDK 14
    3. crated the system variables JAVA_HOME and its path for the JDK to work
    4. created a folder as workspace for Eclise : "FreeplaneScripts"

    Then I tried to follow the steps in the Wiki:
    https://www.freeplane.org/wiki/index.php/Scripting_environment_setup#How_to_set_up_your_environment_with_the_Eclipse_Plug-ins_for_Gradle

    I'm not clear with the first point. I tried diferent configurations and I got errors when running the next steps.
    it says:

    1. Download freeplane_src-x.x.x.tar.gz and extract to a directory freeplane_src in the directory for your Eclipse workspace

    I use 7-zip to extract the file. I had to extract it twice. First I got a freeplane_src-x.x.x.tar file, and then I extracted this and got the folders, subfolders and files.

    but when extracting it I don't know how the final path has to look like:

    • .../FreeplaneScripts/freeplane_src/freeplane-1.8.2/[subfolders and files]
    • .../FreeplaneScripts/freeplane_src/freeplane_src/freeplane-1.8.2/[subfolders and files]
    • .../FreeplaneScripts/freeplane_src/freeplane_src/[subfolders and files]
    • .../FreeplaneScripts/freeplane_src/[subfolders and files]
    • .../FreeplaneScripts/freeplane-1.8.2/[subfolders and files]

    and when dooing the Graddle steps I get different errors or when not, I get the error s when trying to run the *.launch file

    please help!!

    Edo

     
  • Volker Börchers

    Hi Edo,

    try this:

    • Create freeplane_src by extracting the Freeplane source archive
    • Import that into Freeplane as described.
    • Create a folder for your scripts: freeplane_src/FreeplaneScripts
    • Put your scripts into that folder
    • Create a new Eclipse project for your scripts. I'm not completely sure which type it has to be as I use Intellij

    Volker