Hi! I’m trying to add some graphics at the installation node, I found the jfreechart library and try to embed in my project. I placed the jars of jfreechart and jcommons in the project directory and modify the pom file in the following way:
Have someone worked with that library?? I’m new working with maven so maybe I committing a mistake probably or maybe it’s not possible to work with this library, I read your suggestions.
Thanks a lot for the reply, I did what the guide said about adding jars localized in Maven central repository and I checked the dependencies added to the pom file and they were fine. Now the warning icon in the side of the URCap in Setup Robot -> URCp is gone.
I’ve been making some tests and the dependencies are causing this trouble, if you have any idea how can I solve this I’ll appreciate a lot. Mean while I’ll keep compiling the project to see if I find the problem.
Thanks for the reply, I tried but the result was the same. The modifications in the Import Package and Embed Dependency are still necessary or should I erase it? The Guide on how to import a third-party jar-file don’t say anything about that.
For the record when I erase it the URCap turns the icon in warning again but I think is caused by the osgi bundle.
The first method you used with the import and embed is used when you don’t install it to your local maven repo, so you can stick with that. I think the real problem might be the fact that the jar that you are trying to import is depending on other jar as well. Sorry for the inconvenience.
Thanks a lot, I get it to work by including all the need dependencies, I tried just to call the dependencies as the guide said but it didn’t work, however I solved by embedding and importing the dependencies and the osgi core.
I share my pom file if some need to check this.
This topic is very useful and important for our operating robots.
I have tried and succeeded running Jfreechart on ursim.
it is realized with being embed jfreechart and jcommon repository but without being embed osgi core.