"[SOLVED] Plugin extension didn't show"

felix_laksanafelix_laksana Member Posts: 12 Contributor I
edited June 11 in Help
Hi,

I'm new to rapidminer extension her, and my java is not good enough..
I have checkout the rapidminer project and template SVN using..
I already create an extension using the template and already install it into the plugin folder..
But when I run the rapidminer I cannot find my plugin there..
Is there anything I should do?

Thanks
Felix

Answers

  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Moderator, Employee, Member, University Professor Posts: 1,780   RM Engineering
    Hi,

    I'm sorry but your post is lacking information to be able to help you.

    1) SVN sounds old. We are using GIT now, check the sticky threads in this forum
    2) What is the log output when starting Studio from your IDE?

    Regards,
    Marco
  • felix_laksanafelix_laksana Member Posts: 12 Contributor I
    oh so sorry, i think didn't paste the link correctly..
    I use https://github.com/rapidminer/rapidminer for RM SVN, and for the template I use https://github.com/rapidminer/rapidminer-extension-template ..
    I use eclipse Luna Release (4.4.0) & using jdk1.8.0_20..
    I follow the instruction from http://rapid-i.com/rapidforum/index.php?topic=3676.0

    This is the log when I install the plugin..

    Buildfile: C:\Users\felix.laksana\workspace2\rm\RapidMiner_Extension_Template\build.xml
    Trying to override old definition of task javac
    clean:
        [echo] Cleaning...
      [delete] Deleting directory C:\Users\felix.laksana\workspace2\rm\RapidMiner_Extension_Template\build
      [delete] Deleting directory C:\Users\felix.laksana\workspace2\rm\RapidMiner_Extension_Template\javadoc
        [mkdir] Created dir: C:\Users\felix.laksana\workspace2\rm\RapidMiner_Extension_Template\build
        [mkdir] Created dir: C:\Users\felix.laksana\workspace2\rm\RapidMiner_Extension_Template\javadoc
    version.get:
        [echo] Long version: 5.3.000; short version: 5.3
    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 C:\Users\felix.laksana\workspace2\rm\RapidMiner_Extension_Template\ant\jsch-0.1.42.jar to copy.
    init.setEncoding:
    copy-resources:
        [echo] Copying resources...
        [copy] Copying 9 files to C:\Users\felix.laksana\workspace2\rm\RapidMiner_Extension_Template\build
    changes.testExistence:
    merge.changes:
        [echo] Merging all changes files in C:\Users\felix.laksana\workspace2\rm\RapidMiner_Extension_Template\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 Numerical2DateOperator.
    build.dependencies:
        [echo] Building plugin dependencies of Numerical2DateOperator...
        [echo] ...Finished
        [echo] RapidMiner Extension Numerical2DateOperator: Compile with Java from dir: C:\Program Files\Java\jdk1.8.0_20\jre
        [echo] RapidMiner Extension Numerical2DateOperator: using Java version: 1.8.0_20
        [javac] Compiling 7 source files to C:\Users\felix.laksana\workspace2\rm\RapidMiner_Extension_Template\build
        [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
        [javac] C:\Users\felix.laksana\workspace2\rm\RapidMiner_Extension_Template\src\com\rapidminer\transformation\Numerical2DateOperator.java:23: 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:
        [mkdir] Created dir: C:\Users\felix.laksana\workspace2\rm\RapidMiner\release\libfiles
    createJar:
        [echo] Creating jar...
        [echo] Manifest Classpath: C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/SassyReader-0.5.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/blas.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/collections-generic.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/colt.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/commons-codec-1.4.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/commons-collections.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/commons-httpclient-3.1.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/commons-lang-2.4.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/commons-logging-1.1.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/concurrent.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/dom4j-1.6.1.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/encog.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/groovy-all-1.7.7.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/itextpdf-5.3.3.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/ivy-2.2.0.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jama.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jcommon.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jep.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jfreechart.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jmathplot.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/joone-engine.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jugpreview.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jung-algorithms.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jung-api.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jung-graph-impl.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jung-visualization.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/junit.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jxl.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/kdb.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/launcher.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/looks.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/mail.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/microba.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/poi-3.8-20120326.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/poi-excelant-3.8-20120326.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/poi-ooxml-3.8-20120326.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/poi-ooxml-schemas-3.8-20120326.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/poi-scratchpad-3.8-20120326.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/rapidminer.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/rm_doc.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/rsyntaxtextarea.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/slf4j-api-1.6.4.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/slf4j-simple-1.6.4.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/swingx-all-1.6.4.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/vldocking.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/ws-commons-util-1.0.2.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/xmlbeans-2.3.0.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/xmlpull.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/xmlrpc-client-3.1.3.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/xmlrpc-common-3.1.3.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/xpp3.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/xstream.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/freehep/freehep-export.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/freehep/freehep-graphics2d.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/freehep/freehep-graphicsio-emf.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/freehep/freehep-graphicsio-pdf.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/freehep/freehep-graphicsio-ps.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/freehep/freehep-graphicsio-svg.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/freehep/freehep-graphicsio-swf.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/freehep/freehep-graphicsio.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/freehep/freehep-io.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/freehep/freehep-swing.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/freehep/freehep-util.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/freehep/freehep-xml.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jdbc/hsqldb.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jdbc/iijdbc-10.0-4.0.6.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jdbc/jtds-1.2.8.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jdbc/mysql-connector-java-5.1.24-bin.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/jdbc/postgresql-9.2-1002.jdbc4.jar C:/Users/felix.laksana/workspace2/rm/RapidMiner/lib/plugins/rapidminer-Numerical2DateOperator-5.3.000.jar
          [jar] Building jar: C:\Users\felix.laksana\workspace2\rm\RapidMiner\release\rapidminer-Numerical2DateOperator-5.3.000.jar
      [delete] Deleting directory C:\Users\felix.laksana\workspace2\rm\RapidMiner\release\libfiles
    install:
          Moving 1 file to C:\Users\felix.laksana\workspace2\rm\RapidMiner\lib\plugins
    BUILD SUCCESSFUL
    Total time: 2 seconds
    Very appreciate for your help :)
  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Moderator, Employee, Member, University Professor Posts: 1,780   RM Engineering
    Hi,

    what is the console output when starting RapidMiner from Eclipse? There may be a clue in there why your extension is not being loaded.

    Regards,
    Marco
  • felix_laksanafelix_laksana Member Posts: 12 Contributor I
    This is the output in console :

    Sep 30, 2014 3:42:54 PM com.rapidminer.tools.ParameterService init
    INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
    Sep 30, 2014 3:42:54 PM com.rapidminer.tools.LaunchListener installListener
    INFO: Listening for other instances on port 55826. Writing C:\Users\felix.laksana\.RapidMiner5\socket.
    Sep 30, 2014 3:42:55 PM com.rapidminer.tools.I18N <clinit>
    INFO: Set locale to en.
    Sep 30, 2014 3:42:55 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
    INFO: Property rapidminer.home is not set. Guessing.
    Sep 30, 2014 3:42:55 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
    INFO: Trying base directory of classes (build) 'C:\Users\felix.laksana\workspace2\rm\RapidMiner'...gotcha!
    Sep 30, 2014 3:42:55 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Numerical2DateOperator
    Sep 30, 2014 3:42:56 PM com.rapidminer.tools.expression.parser.ExpressionParserFactory <clinit>
    INFO: Default version of expression parser registered successfully
    Sep 30, 2014 3:42:56 PM com.rapidminer.parameter.ParameterTypePassword decryptPassword
    WARNING: Password in XML file looks like unencrypted plain text.
    Sep 30, 2014 3:42:57 PM com.rapidminer.tools.OperatorService init
    INFO: Number of registered operator classes: 444; number of registered operator descriptions: 445; number of replacements: 403
    Sep 30, 2014 3:42:57 PM com.rapidminer.tools.jdbc.JDBCProperties <init>
    WARNING: Missing database driver class name for ODBC Bridge (e.g. Access)
    Sep 30, 2014 3:42:57 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
    INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
    Sep 30, 2014 3:42:57 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
    INFO: JDBC driver oracle.jdbc.driver.OracleDriver not found. Probably the driver is not installed.
    Sep 30, 2014 3:42:59 PM com.rapid_i.deployment.update.client.UpdateManager <clinit>
    WARNING: Using a development build. Assuming platform independent version.
    Oh and when I load the rapidminer from eclipse there's an error :
    "The repository location 'Xmx1536m' is malformed. Repository location look e.g. like this 'Repository/path/to/entry'
    But after I close the error messsage it seems to working normally

    Thanks Marco
  • felix_laksanafelix_laksana Member Posts: 12 Contributor I
    Hi,

    Any clue regarding this problem?
    The rapidminer is working normally but the extension is still missing..

    Thanks
  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Moderator, Employee, Member, University Professor Posts: 1,780   RM Engineering
    Hi,

    1) The console output says "INFO: Register plugin: Numerical2DateOperator". Looks like RapidMiner found your extension and loaded it. You should be able to for example print something to the console with your extension and see it when launching RapidMiner. What exactly is not working? Did you add an operator in your extension and it doesn't show up? Did you correctly add the operator to the .xml of your extension?

    2) Your repository location error message is a simple result of the -Xmx parameter being provided as a program argument instead of a JVM argument. Add the -Xmx parameter to the VM arguments of Eclipse, not the program arguments of your debug/launch configuration.

    Regards,
    Marco
  • felix_laksanafelix_laksana Member Posts: 12 Contributor I
    Hi Marco,

    Finally the plugin is shown in rapidminer after I apply -Xmx parameter in eclipse as you suggested..
    Thank you very much for your help..

    Felix

Sign In or Register to comment.