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

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


Ed Merks wrote:

Will,

Personally I think you'd be best to use the PDE to help manage your Java Build Path, but you can do it directly using Properties..->Java Build Path->Projects to make A depend on B.


Williams wrote:
I created a Java project A. And under A, I would like to import a class from another project B which has a package org.eclipse.example.Myprogram.ClassA. But when i write
import org.eclipse.example.Myprogram.ClassA, I get the following msg:
org.eclipse.example cannot be resolved.
How should I fix the problem? Thanks.
Will