The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Can't load my extension as an operator in RM
Hello,
I just follow the "hew to extend rapidminer 5" paper, when I finish a operator cloass, creat and move a '.jar' into plugins folder, I can't see my operator in the left side "operators" menu when I excute my Rapidminer(Unuk). I am not sure that cause the build.xml or operator.xml?
here shows some informations:
I just follow the "hew to extend rapidminer 5" paper, when I finish a operator cloass, creat and move a '.jar' into plugins folder, I can't see my operator in the left side "operators" menu when I excute my Rapidminer(Unuk). I am not sure that cause the build.xml or operator.xml?
here shows some informations:
Thanks for your help.
Buildfile: /home/john624/workspace/Paraminer/build.xml
clean:
[echo] Cleaning...
[delete] Deleting directory /home/john624/workspace/Paraminer/build
[delete] Deleting directory /home/john624/workspace/Paraminer/javadoc
[mkdir] Created dir: /home/john624/workspace/Paraminer/build
[mkdir] Created dir: /home/john624/workspace/Paraminer/javadoc
version.get:
[echo] Long version: ${extension.version}.${extension.revision}.${extension.update}; short version: ${extension.version}.${extension.revision}
init.setEncoding:
init:
[taskdef] Could not load definitions from resource antlib.xml. It could not be found.
[taskdef] Could not load definitions from resource org/freecompany/redline/ant/antlib.xml. It could not be found.
[copy] Warning: Could not find file /home/john624/workspace/Paraminer/ant/jsch-0.1.42.jar to copy.
init.setEncoding:
copy-resources:
[echo] Copying resources...
[copy] Copying 10 files to /home/john624/workspace/Paraminer/build
changes.testExistence:
merge.changes:
prepare_agpl:
build:
[echo] build.no_agpl=${build.no_agpl}
clean:
clean_agpl:
build.rm:
build.dependencies.prepare.set:
build.dependencies.prepare.unset:
[echo] No dependencies defined for Template.
build.dependencies:
[echo] Building plugin dependencies of Template...
[echo] ...Finished
[echo] RapidMiner Extension Template: Compile with Java from dir: /usr/lib/jvm/java-7-openjdk-i386/jre
[echo] RapidMiner Extension Template: using Java version: 1.7.0_51
[javac] /home/john624/workspace/RapidMiner_Unuk/build_extension.xml:162: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 9 source files to /home/john624/workspace/Paraminer/build
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] /home/john624/workspace/Paraminer/src/com/rapidminer/Numerical2DateOperator.java:27: warning: [deprecation] <T>getData() in Port has been deprecated
[javac] ExampleSet exampleSet = exampleSetInput.getData();
[javac] ^
[javac] where T is a type-variable:
[javac] T extends IOObject declared in method <T>getData()
[javac] 2 warnings
unzipLibs:
[unjar] Expanding: /home/john624/workspace/Paraminer/lib/vldocking.jar into /home/john624/workspace/RapidMiner_Unuk/release/libfiles
createJar:
[echo] Creating jar...
[echo] Manifest Classpath: vldocking.jar /home/john624/workspace/RapidMiner_Unuk/lib/SassyReader-0.5.jar /home/john624/workspace/RapidMiner_Unuk/lib/blas.jar /home/john624/workspace/RapidMiner_Unuk/lib/collections-generic.jar /home/john624/workspace/RapidMiner_Unuk/lib/colt.jar /home/john624/workspace/RapidMiner_Unuk/lib/commons-codec-1.4.jar /home/john624/workspace/RapidMiner_Unuk/lib/commons-collections.jar /home/john624/workspace/RapidMiner_Unuk/lib/commons-httpclient-3.1.jar /home/john624/workspace/RapidMiner_Unuk/lib/commons-lang-2.4.jar /home/john624/workspace/RapidMiner_Unuk/lib/commons-logging-1.1.jar /home/john624/workspace/RapidMiner_Unuk/lib/concurrent.jar /home/john624/workspace/RapidMiner_Unuk/lib/dom4j-1.6.1.jar /home/john624/workspace/RapidMiner_Unuk/lib/encog.jar /home/john624/workspace/RapidMiner_Unuk/lib/groovy-all-1.7.7.jar /home/john624/workspace/RapidMiner_Unuk/lib/itextpdf-5.3.3.jar /home/john624/workspace/RapidMiner_Unuk/lib/ivy-2.2.0.jar /home/john624/workspace/RapidMiner_Unuk/lib/jama.jar /home/john624/workspace/RapidMiner_Unuk/lib/jcommon.jar /home/john624/workspace/RapidMiner_Unuk/lib/jep.jar /home/john624/workspace/RapidMiner_Unuk/lib/jfreechart.jar /home/john624/workspace/RapidMiner_Unuk/lib/jmathplot.jar /home/john624/workspace/RapidMiner_Unuk/lib/joone-engine.jar /home/john624/workspace/RapidMiner_Unuk/lib/jugpreview.jar /home/john624/workspace/RapidMiner_Unuk/lib/jung-algorithms.jar /home/john624/workspace/RapidMiner_Unuk/lib/jung-api.jar /home/john624/workspace/RapidMiner_Unuk/lib/jung-graph-impl.jar /home/john624/workspace/RapidMiner_Unuk/lib/jung-visualization.jar /home/john624/workspace/RapidMiner_Unuk/lib/junit.jar /home/john624/workspace/RapidMiner_Unuk/lib/jxl.jar /home/john624/workspace/RapidMiner_Unuk/lib/kdb.jar /home/john624/workspace/RapidMiner_Unuk/lib/launcher.jar /home/john624/workspace/RapidMiner_Unuk/lib/looks.jar /home/john624/workspace/RapidMiner_Unuk/lib/mail.jar /home/john624/workspace/RapidMiner_Unuk/lib/microba.jar /home/john624/workspace/RapidMiner_Unuk/lib/poi-3.8-20120326.jar /home/john624/workspace/RapidMiner_Unuk/lib/poi-excelant-3.8-20120326.jar /home/john624/workspace/RapidMiner_Unuk/lib/poi-ooxml-3.8-20120326.jar /home/john624/workspace/RapidMiner_Unuk/lib/poi-ooxml-schemas-3.8-20120326.jar /home/john624/workspace/RapidMiner_Unuk/lib/poi-scratchpad-3.8-20120326.jar /home/john624/workspace/RapidMiner_Unuk/lib/rapidminer.jar /home/john624/workspace/RapidMiner_Unuk/lib/rm_doc.jar /home/john624/workspace/RapidMiner_Unuk/lib/rsyntaxtextarea.jar /home/john624/workspace/RapidMiner_Unuk/lib/slf4j-api-1.6.4.jar /home/john624/workspace/RapidMiner_Unuk/lib/slf4j-simple-1.6.4.jar /home/john624/workspace/RapidMiner_Unuk/lib/swingx-all-1.6.4.jar /home/john624/workspace/RapidMiner_Unuk/lib/vldocking.jar /home/john624/workspace/RapidMiner_Unuk/lib/ws-commons-util-1.0.2.jar /home/john624/workspace/RapidMiner_Unuk/lib/xmlbeans-2.3.0.jar /home/john624/workspace/RapidMiner_Unuk/lib/xmlpull.jar /home/john624/workspace/RapidMiner_Unuk/lib/xmlrpc-client-3.1.3.jar /home/john624/workspace/RapidMiner_Unuk/lib/xmlrpc-common-3.1.3.jar /home/john624/workspace/RapidMiner_Unuk/lib/xpp3.jar /home/john624/workspace/RapidMiner_Unuk/lib/xstream.jar /home/john624/workspace/RapidMiner_Unuk/lib/freehep/freehep-export.jar /home/john624/workspace/RapidMiner_Unuk/lib/freehep/freehep-graphics2d.jar /home/john624/workspace/RapidMiner_Unuk/lib/freehep/freehep-graphicsio-emf.jar /home/john624/workspace/RapidMiner_Unuk/lib/freehep/freehep-graphicsio-pdf.jar /home/john624/workspace/RapidMiner_Unuk/lib/freehep/freehep-graphicsio-ps.jar /home/john624/workspace/RapidMiner_Unuk/lib/freehep/freehep-graphicsio-svg.jar /home/john624/workspace/RapidMiner_Unuk/lib/freehep/freehep-graphicsio-swf.jar /home/john624/workspace/RapidMiner_Unuk/lib/freehep/freehep-graphicsio.jar /home/john624/workspace/RapidMiner_Unuk/lib/freehep/freehep-io.jar /home/john624/workspace/RapidMiner_Unuk/lib/freehep/freehep-swing.jar /home/john624/workspace/RapidMiner_Unuk/lib/freehep/freehep-util.jar /home/john624/workspace/RapidMiner_Unuk/lib/freehep/freehep-xml.jar /home/john624/workspace/RapidMiner_Unuk/lib/jdbc/hsqldb.jar /home/john624/workspace/RapidMiner_Unuk/lib/jdbc/iijdbc-10.0-4.0.6.jar /home/john624/workspace/RapidMiner_Unuk/lib/jdbc/jtds-1.3.0.jar /home/john624/workspace/RapidMiner_Unuk/lib/jdbc/mysql-connector-java-5.1.24-bin.jar /home/john624/workspace/RapidMiner_Unuk/lib/jdbc/postgresql-9.2-1002.jdbc4.jar /home/john624/workspace/RapidMiner_Unuk/lib/plugins/rapidminer-Template-${extension.version}.${extension.revision}.${extension.update}.jar
[jar] Building jar: /home/john624/workspace/RapidMiner_Unuk/release/rapidminer-Template-${extension.version}.${extension.revision}.${extension.update}.jar
[delete] Deleting directory /home/john624/workspace/RapidMiner_Unuk/release/libfiles
clean:
version.get:
[echo] Long version: ${extension.version}.${extension.revision}.${extension.update}; short version: ${extension.version}.${extension.revision}
init.setEncoding:
init:
copy-resources:
changes.testExistence:
merge.changes:
prepare_agpl:
build:
unzipLibs:
[mkdir] Created dir: /home/john624/workspace/RapidMiner_Unuk/release/libfiles
[unjar] Expanding: /home/john624/workspace/Paraminer/lib/vldocking.jar into /home/john624/workspace/RapidMiner_Unuk/release/libfiles
createJar:
install:
[move] Moving 1 file to /home/john624/workspace/RapidMiner_Unuk/lib/plugins
BUILD SUCCESSFUL
Total time: 7 seconds
Tagged:
0
Answers
make sure you have a build.properties next to your build.xml which looks like this: When launching RapidMiner from within your IDE, you should see in the log that your extension is loaded (or why it is not).
Regards,
Marco
and none of this solutions worked for me.
please help!
let's say you're having RapidMiner Studio in your IDE and launch it from there. To have it load extension, the extension .jar files must be in the /lib/plugins folder of the project. For example, for me currently the path is "C:\Users\boeck\git_repo\rapidminer\lib\plugins", where "rapidminer" is the folder which Eclipse uses as the project folder.
Regards,
Marco