Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
How to compile plug-ins referencing external libraries?
Ghostrider
Member Posts: 60 Contributor II
I am trying to use the ant build script which was included with the How To Extend RapidMiner tutorial. I get errors such as these:
[javac] C:\workspace\RMExtension\src\com\rapidminer\operator\visualization\MainDisplay.java:30: cannot find symbolThe project itself does not show any compile errors in RapidMiner, all java classes build fine. However, I have 2 other Eclipse Projects linked and I think the issue is that ant tries to build using an unrelated makefile / classpath which does not include these required projects. What's the easiest way to resolve this? I'd like to modify my project setup in Eclipse rather than attempt to hack the ant build script if possible.
[javac] symbol : class MyDoggyToolWindowManager
[javac] location: class com.rapidminer.operator.visualization.MainDisplay
[javac] MyDoggyToolWindowManager myDoggyToolWindowManager = new MyDoggyToolWindowManager();
[javac] ^
[javac] C:\workspace\RMExtension\src\com\rapidminer\operator\visualization\MainDisplay.java:30: cannot find symbol
[javac] symbol : class MyDoggyToolWindowManager
[javac] location: class com.rapidminer.operator.visualization.MainDisplay
[javac] MyDoggyToolWindowManager myDoggyToolWindowManager = new MyDoggyToolWindowManager();
[javac] ^
[javac] C:\workspace\RMExtension\src\com\rapidminer\operator\visualization\MainDisplay.java:34: cannot find symbol
[javac] symbol : class ToolWindow
[javac] location: class com.rapidminer.operator.visualization.MainDisplay
[javac] for (ToolWindow window : toolWindowManager.getToolWindows())
[javac] ^
[javac] 7 errors
[javac] 4 warnings
Tagged:
0
Answers
I've also run into build problems, but on Vega itself, see the error message in my last post in the CVS tread here. Oh what joy! Can it get any better than this?
if you use the regular build file, the easiest solution is to just copy your library jars into the "lib" folder in the plugin. The build file will automatically bundle it with the plugin.
Cheers,
Simon