Skip to main content



      Home
Home » Newcomers » Newcomers » Java build path plug-in dependencies
Java build path plug-in dependencies [message #268503] Wed, 11 February 2009 20:15 Go to next message
Eclipse UserFriend
Originally posted by: riwright.adobe.com

I upgraded my Windows box to 3.4 yesterday. I imported one of my very
simple plugins and I am seeing something weird. I get errors that nothing
org.eclipse can be found. So I check the build path and there is an entry
for Java JRE, there is no entry for Plug-in Dependencies. I made the
appropriate entries in the Dependencies tab of the plugin editor but that is
only reflected in the manifest. So I went and edited the .classpath file
directly and added a classpath entry for org.eclipse.pde.org etc. That
resolved the problem but seems rather hackish.

So... Any ideas about what I did wrong? Or is this some odd quirk of the
upgrade?

TIA, Ric
Re: Java build path plug-in dependencies [message #268505 is a reply to message #268503] Wed, 11 February 2009 22:50 Go to previous messageGo to next message
Eclipse UserFriend
Hello Ric,

Just to make sure, did you import your plugin using File > Import >
Plug-ins and Fragments?

I downloaded Eclipse Ganymede 3.4 and the plugins are working fine. From
which source did you download Eclipse Ganymede 3.4?

Regards,
Madhu
Re: Java build path plug-in dependencies [message #268509 is a reply to message #268503] Thu, 12 February 2009 03:14 Go to previous messageGo to next message
Eclipse UserFriend
"Ric Wright" <riwright@adobe.com> wrote in message
news:C5B8B81B.1B7F6%riwright@adobe.com...
>I upgraded my Windows box to 3.4 yesterday.

What flavor of 3.4? Do you have the PDE feature? It's not included in all
the packages, only some...
Re: Java build path plug-in dependencies [message #268515 is a reply to message #268509] Thu, 12 February 2009 10:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: riwright.adobe.com

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?

BTW, I used "import existing projects".

Thanks,Ric


On 2/12/09 12:14 AM, in article gn0lo8$rtj$1@build.eclipse.org, "Walter
Harley" <eclipse@cafewalter.com> wrote:

> "Ric Wright" <riwright@adobe.com> wrote in message
> news:C5B8B81B.1B7F6%riwright@adobe.com...
>> I upgraded my Windows box to 3.4 yesterday.
>
> What flavor of 3.4? Do you have the PDE feature? It's not included in all
> the packages, only some...
>
>
Re: Java build path plug-in dependencies [message #268520 is a reply to message #268515] Thu, 12 February 2009 11:58 Go to previous message
Eclipse UserFriend
"Ric Wright" <riwright@adobe.com> wrote in message
news:C5B98292.1B85A%riwright@adobe.com...
> 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.
Previous Topic:Passing Through the Project Explorer Tree
Next Topic:How to filter a TreeViewer to not display the parent, but show the children
Goto Forum:
  


Current Time: Fri Nov 07 10:54:55 EST 2025

Powered by FUDForum. Page generated in 0.09095 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top