Error developing a plugin

maalvarez
maalvarez New Altair Community Member
edited November 5 in Community Q&A
Hi,

I developed some plugins a few months ago and now I want to do the same with the new version of Rapidminer, Unuk.

I have done the next steps in Eclipse:

1. Download Rapidminer_Unuk from http://rapidminer.svn.sourceforge.net/viewvc/rapidminer/Unuk/
2. Add this project to my plugin project, changing build.xml file, with

<property name="rm.dir" location="../RapidMiner_Unuk" />
3. Run "install" option from ant file of my plugin (build.xml).

The output console shows 74 errros and 70 warnings.
I only want to generate the jar file of my plugin to paste in the lib folder of RapidMiner installation.

What is wrong?
I paste some messages below:

[javac] Compiling 3258 source files to J:\Universidad\Investigacion\workspace\RapidMiner_Unuk\build
    [javac] J:\Universidad\Investigacion\workspace\RapidMiner_Unuk\src\com\rapid_i\deployment\update\client\UpdateManager.java:70: warning: sun.net.www.protocol.http.AuthCacheImpl is Sun proprietary API and may be removed in a future release
    [javac] import sun.net.www.protocol.http.AuthCacheImpl;
    [javac]                                ^
    [javac] J:\Universidad\Investigacion\workspace\RapidMiner_Unuk\src\com\rapid_i\deployment\update\client\UpdateManager.java:71: warning: sun.net.www.protocol.http.AuthCacheValue is Sun proprietary API and may be removed in a future release
    [javac] import sun.net.www.protocol.http.AuthCacheValue;
    [javac]                                ^
    [javac] J:\Universidad\Investigacion\workspace\RapidMiner_Unuk\src\com\rapidminer\doc\AbstractOperatorDocGenerator.java:40: warning: [deprecation] com.rapidminer.operator.condition.InnerOperatorCondition in com.rapidminer.operator.condition has been deprecated
    [javac] import com.rapidminer.operator.condition.InnerOperatorCondition;
    [javac]                                        ^
    [javac] J:\Universidad\Investigacion\workspace\RapidMiner_Unuk\src\com\rapidminer\doc\AbstractOperatorDocGenerator.java:49: package com.sun.javadoc does not exist
    [javac] import com.sun.javadoc.ClassDoc;
    [javac]                      ^
    [javac] J:\Universidad\Investigacion\workspace\RapidMiner_Unuk\src\com\rapidminer\doc\AbstractOperatorDocGenerator.java:50: package com.sun.javadoc does not exist
    [javac] import com.sun.javadoc.RootDoc;
    [javac]                      ^
    [javac] J:\Universidad\Investigacion\workspace\RapidMiner_Unuk\src\com\rapidminer\doc\AbstractOperatorDocGenerator.java:51: package com.sun.javadoc does not exist
    [javac] import com.sun.javadoc.SeeTag;
    [javac]                      ^
    [javac] J:\Universidad\Investigacion\workspace\RapidMiner_Unuk\src\com\rapidminer\doc\AbstractOperatorDocGenerator.java:52: package com.sun.javadoc does not exist
    [javac] import com.sun.javadoc.Tag;
    [javac]                      ^
    [javac] J:\Universidad\Investigacion\workspace\RapidMiner_Unuk\src\com\rapidminer\doc\AbstractOperatorDocGenerator.java:53: package com.sun.tools.doclets does not exist
    [javac] import com.sun.tools.doclets.Taglet;
    [javac]                            ^
    [javac] J:\Universidad\Investigacion\workspace\RapidMiner_Unuk\src\com\rapidminer\doc\OperatorDocGenerator.java:28: package com.sun.javadoc does not exist
    [javac] import com.sun.javadoc.RootDoc;
    [javac]                      ^
    [javac] J:\Universidad\Investigacion\workspace\RapidMiner_Unuk\src\com\rapidminer\doc\AbstractOperatorDocGenerator.java:112: cannot find symbol
    [javac] symbol  : class Taglet
    [javac] location: class com.rapidminer.doc.AbstractOperatorDocGenerator
    [javac] private Map<String, Taglet> tagletMap = new HashMap<String, Taglet>();
    [javac]                     ^
    [javac] J:\Universidad\Investigacion\workspace\RapidMiner_Unuk\src\com\rapidminer\doc\AbstractOperatorDocGenerator.java:136: cannot find symbol
    [javac] symbol  : class RootDoc
    [javac] location: class com.rapidminer.doc.AbstractOperatorDocGenerator
    [javac] public void generateDoc(Operator op, RootDoc rootDoc, PrintWriter out) {
    [javac]                                       ^
    [javac] J:\Universidad\Investigacion\workspace\RapidMiner_Unuk\src\com\rapidminer\doc\OperatorDocGenerator.java:39: cannot find symbol
    [javac] symbol  : class RootDoc
    [javac] location: interface com.rapidminer.doc.OperatorDocGenerator
    [javac] public void generateDoc(Operator operator, RootDoc rootDoc, PrintWriter out);

Answers

  • Looks like environment config issues. Is the RapidMiner_Unuk Eclipse project compilable by itself?