Yes, this is what I meant indeed.
I also tried to write a simple .jar plugin and put it into the lib/plugins directory. In RapidMiner 4.6 it worked like a charm, but unfortunately not in RapidMiner 5.1.
Has there been a change in creating a plugin?
Again, what I did:
- Create the ExampleSetWriter.java from the tutorial
package com.rapidminer.operator.my;
import com.rapidminer.example.*;
import com.rapidminer.operator .*;
import com.rapidminer.parameter.*;
import java.io.*;
import java.util.List ;
public class ExampleSetWriter extends Operator {
public ExampleSetWriter(OperatorDescription description) {
super(description);
}
@Override
public IOObject[] apply() throws OperatorException {
File file = getParameterAsFile("example_set_file");
ExampleSet eSet = getInput(ExampleSet.class);
try {
PrintWriter out = new PrintWriter(new FileWriter(file));
for (Example example : eSet) {
out.println(example);
}
out.close();
} catch (IOException e) {
throw new UserError(this, 303, file, e.getMessage());
}
return new IOObject[] {eSet};
}
@Override
public Class<?>[] getInputClasses() {
return new Class[] {ExampleSet.class};
}
@Override
public Class<?>[] getOutputClasses() {
return new Class[] {ExampleSet.class};
}
@Override
public List<ParameterType> getParameterTypes() {
List<ParameterType> types = super.getParameterTypes();
types.add(new ParameterTypeFile("example_set_file", "The file for the examples", "txt", false));
return types;
}
}
- Create the operator.xml from the tutorial
<operators>
<!-- Your own Operator -->
<operator
name = "MyExampleSetWriter"
class = "com.rapidminer.operator.my.ExampleSetWriter"
description = "Writes example set into file."
group = "MyOps"
/>
</operators>
- Create the manifest file
Manifest-Version: 1.0
RapidMiner-Type: RapidMiner_Plugin
- Create the .jar out of it
As I said, in RapidMiner 4.6 it works but unfortunately not in 5.1.
I would really like to buy the whitepaper, but for a student 40€ is definitely to much

So is there a simple trick in order to get it to work in RapidMiner 5.1, do I have to change the operators.xml or something?
Cheers Q-Dog