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
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