[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Plug-in problem with jars

Hello,

I hope I'm posting this into the correct newsgroup, if not, feel free to tell me where this belongs ;)

We have an Eclipse project which is split into several plug-ins. All the plug-ins share some dependences, which are in part other plug-ins or jar-files.
Now our problem is, that we cannot find a way to arrange the plug-ins and jars in a clean way.
We tried moving all jars to a plug-in which all other plug-ins depend on, and assumed that the other plug-ins would import the jar via the plug-in. This did not work. Manually adding the jars to each plug-ins build path only solved the problem partially, because then we faced "Access restriction" problems. This could be solved by making sure that the plug-in did not depend on any other plug-in which had those jars in the build path. And even then, it did not work that well, and it is not what we wanted in the first place.


Is there any way to have one "resource"-plug-in which has all the jars in its build path, and let all the other plug-ins use those jars via this plug-in they depend on? We were unable to find any helpful information about that, so I hope someone here can help.

Thanks a lot.

Kind regards,
Michael Pisula