Eclipse RCP Project Unable to Reference Regular Java Project
Question
I have three projects that I am working with in Eclipse in the same workspace: one RCP application, and two pure Java projects that it depends on. The one Java project depends on the other; this is accomplished in Properties->Java Build Path->Projects. However, neither that nor any other of the numerous methods I have tried hav开发者_Python百科e worked to make the RCP project depend on the pure Java projects. The solution I have now is haphazard; I have added the source of the other two projects to the RCP project as linked source folders. Is there a better solution?
Similar StackOverflow Questions
This question is similar to How to set up project references Eclipse and Java Web Project referencing another Java project, but their answers did not fix my problems. It is even more similar to Eclipse RCP with project dependency, but the solution offered there is precisely what I do not want to do (convert the plain Java projects to plugin projects).
Why do you not want to convert them to plugin projects? It's nothing more than some additions in the MANIFEST.MF file. (unless you want to manually load classes, then it's more complicated)
精彩评论