Options

"running RM white paper tutorial/template."

alandhwalandhw Member Posts: 25 Contributor II
edited June 2019 in Help
Hi, I already purchase RM white paper and it come with tutorial and template folder together. In order to get understand into how to build the RM extension, I need to run the tutorial/template code too see the output. However, after reading the guide, I could not find the way to run it. I already checkout the Vega folder, import tutorial and template folder.
1. Do I need to open all 3 projects together when running for tutorial/template files?
2. I need to point to the "com.rapidminer.gui.RapidMinerGUI" for my main class to run every RM projects?
3. From where I can see the outcome of the new extension?

Thank you and appreciate if anyone willing to answer my questions. :)

Answers

  • Options
    Nils_WoehlerNils_Woehler Member Posts: 463 Maven
    Hi,

    first you have to execute the antΒ  target 'install' in your newly created plugin. This will create a .jar file and move it to the RapidMiner lib/plugin folder.
    Afterwards you can just start RapidMiner (com.rapidminer.gui.RapidMinerGUI) and start using your plugin.

    Best,
    Nils
  • Options
    MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    Hi,

    first of all, the latest version of RapidMiner is "Unuk" and not "Vega", we will update the guides soon accordingly.

    In Eclipse you really have to open all two projects (RapidMiner itself and the extension folder, which one is the third?). In the build.xml of the extension you have to replace any occurence of Vega with Unuk (if there are any, I don't have it opened currently).
    To use the extension, you have to open the "ant" view in eclipse and drag the build.xml of the extension and of RapidMiner from the Project Explorer into the ant view and then first execute the "createJar" target of RapidMiner and then the "install" target of the extension.
    When you then start RapidMiner with the RapidMinerGUI class, your custom operators etc. are available in RapidMiner.

    Best, Marius
  • Options
    alandhwalandhw Member Posts: 25 Contributor II
    Marius wrote:

    Hi,

    first of all, the latest version of RapidMiner is "Unuk" and not "Vega", we will update the guides soon accordingly.

    In Eclipse you really have to open all two projects (RapidMiner itself and the extension folder, which one is the third?). In the build.xml of the extension you have to replace any occurence of Vega with Unuk (if there are any, I don't have it opened currently).
    To use the extension, you have to open the "ant" view in eclipse and drag the build.xml of the extension and of RapidMiner from the Project Explorer into the ant view and then first execute the "createJar" target of RapidMiner and then the "install" target of the extension.
    When you then start RapidMiner with the RapidMinerGUI class, your custom operators etc. are available in RapidMiner.

    Best, Marius
    1.Which build.xml u mean? The build.xml in Vega or build.xml in tutorial project?
    2.What do you mean "createJar" ? How to do this? this will done automatically by Eclipse IDE?
    3.How to do the "install" that you mention here?

    Sorry for asking dummy questions. RapidMiner and Eclipse is something new to me. I need a lot of help. Thank you very much.
  • Options
    MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    alandhw wrote:

    1.Which build.xml u mean? The build.xml in Vega or build.xml in tutorial project?
    Both :) Just drag them from the Process Explorer (usually on the left side of the eclipse window) into the ant view. To open the ant view, in eclipse press Ctrl+3, type ant and select "ant View". A new tab should appear somewhere.
    There you can drag the build.xml's. A tree-like structure will appear, and below the build.xml files you'll see the so-called "targets", amongst them the ones mentioned in my post above.

    2.What do you mean "createJar" ? How to do this? this will done automatically by Eclipse IDE?
    3.How to do the "install" that you mention here?
    See Point 1.

    Sorry for asking dummy questions. RapidMiner and Eclipse is something new to me. I need a lot of help. Thank you very much.
Sign In or Register to comment.