🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Can I change rapidminer5's code for extension project?

User: "21310122"
New Altair Community Member
Updated by Jocelyn

I am using RapidMiner5 and want to develop the extension project with RapidMiner5.

rapidminer5.jpg

 

In order to develop the extension project, I changed some code in RapidMiner. Because some method in RapidMiner5 is private or protected. 

 

public1.png

 public2.png

 

I tested the code just in extension project and get the successful result, but when I built it to generate plugin in RapidMiner5, it got error.

From the error message, the modified code is not recognized correctly.
puclicerror.png

 

But I checked the class file in RapidMiner5, it's the lastest code. The method is "public" now.
public3.png

 

So why I got these error message?

 

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "jczogalla"
    New Altair Community Member
    Accepted Answer

    Hi @21310122!

     

    I think I see the solution now... I guess you have the RapidMiner5 project on your extension's classpath, correct? Then of course it can see the changes that you made. But when the extension is built, it will not use the classes built by eclipse, but instead it will use the rapidminer.jar library. Of course this is still the unmodified version. To rebuild the rapidminer.jar library, simply execute the createJar task from within the RapidMiner5 project. That should solve your problem.

     

    Cheers

    Jan