[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Java build path plug-in dependencies

"Ric Wright" <riwright@xxxxxxxxx> wrote in message 
news:C5B98292.1B85A%riwright@xxxxxxxxxxxx
> Ah, Yes.  So I discovered initially.  Then I wiped out the original one 
> and
> downloaded the SDK, which does have the PDE.  But perhaps the first import
> somehow that mangled stuff in my workspace/project to start with?  I 
> looked
> at the .project file and it didn't seem so.  But perhaps if the PDE isn't
> there it doesn't set up the .classpath file correctly?

Quite likely.  What you need in the .classpath is the PDE container, 
something like this:

 <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>

I can't tell from your original post if you have that (you mention adding "a 
classpath entry for org.eclipse.pde.org etc.").

Also, the project needs to have a PDE nature; in <natures> in the .project 
you should have something like:

  <nature>org.eclipse.pde.PluginNature</nature>

But I'd suggest that rather than trying to hand-craft this stuff, now that 
you've got the right Eclipse, just recreate the workspace from scratch. 
Otherwise you're forever going to be running into gotchas and wondering if 
it's because of the way you got there.