Reputation: 111
I have two different eclipse plugin projects and I want to call to class from proj1 in proj2, what are the steps that I should do?
I have tried to do it with adding a project proj1 to project2 with the tab right click on project properties and in the tab project ,without success .it doesnt know it?
Upvotes: 0
Views: 117
Reputation: 20003
If you're working with plug-in projects, they can only rely on other plug-ins and .jar files according to their plug-in manifest files. Open proj2's MANIFEST.MF file in the Plug-In Manifest Editor and add proj1 as a Required Plug-in from the Dependency tab.
Upvotes: 2
Reputation: 10151
Sometimes Eclipse get confused or does not use your changed configuration by itself. Often it helps to force eclipse to build all projects again.
Main menue: 'Project' than click on 'Clean ...' select 'Clean all projects' and press 'OK'
Upvotes: 0