| [news.eclipse.newcomer] Re: import a class from another project |
Ed Merks wrote:
Will,
Did the first project export its package(s)? (Using the runtime tab.)
Williams wrote:Yes. I did open it and I chose required Plug-ins -> Add. Then I can see my project. But after adding the project, the current project still cannot import the first project. I doubt this is what I should do. Next, I do Imported Packages -> Add but I cannot see the first project which I would like to import...
Ed Merks wrote:
Will,
If you have a plugin project, when you open the MANIFEST.MF there will be a Dependencies tab and that's how you will control, indirectly, your classpath.
Williams wrote:Ankur Sharma wrote:
Williams wrote:Ed,
Thanks. It works when I used the 2nd option. Can you tell me more about PDE? Or where can I find more information. THanks.
Will
Tutorials would be a good start. Help -> Welcome -> Tutorials -> Eclipse Plugin Development.
Also "PDE does plug-ins" is a good readhttp://www.eclipse.org/articles/Article-PDE-does-plugins/PDE-intro.html
Thanks for the link. But after reading the above article, I still dont know where I should add the project which I would like to import. The article talks about dependencies, extension, and runtime. I dont know which part can fit my question. Thanks.
Will