[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: import a class from another project

I got it. Thanks, Ed.
Will

Ed Merks wrote:

Will,

In the MANFIEST.MF. :-P The plugin.xml used to contain everything but now it's just for defining extension points and for contributing extensions.


Williams wrote:
Thanks, Ed. It works now. I am just wondering after the changes via the Manifest Editor, which file can see these settings? I cannot find the change in plugin.xml file. Thanks.
Will


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 read
http://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