Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » how to debug unresolved dependencies in PDE build
how to debug unresolved dependencies in PDE build [message #634475] Thu, 21 October 2010 20:33 Go to next message
Jon Svede is currently offline Jon SvedeFriend
Messages: 83
Registered: July 2009
Member
I have a product build based on 3.5 running in Hudson. The product is features based. The build ran fine until I added a new plugin to my target platform.

I updated my product definition, the target definition and all the features that require this new plugin. My product export is working fine in the IDE. However, nothing I do seems to fix this issue in the build. I keep getting the following:

[java] generateFeature:
...
[java] [eclipse.buildScript] Bundle org.myclient.app.editor:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.nebula.widgets.grid_1.0.0.

And then the build fails. There are other messages in this output, but they have been there for a while and have never affected the success of the build.

Is there a way to turn on additional debugging in the build that will give me a better idea of why it's failing?

In this case, the plugin org.myclient.app.editor has the dependency properly listed in dependency tab of the manifest. Additionally, it's also enumerated as a dependency in the feature.xml that this plugin is a part of (on both the plug-ins and dependencies tabs) as well as the parent feature of this feature. I am out of ideas of where else I need to specify this dependency.

Thanks in advance.

Jon
Re: how to debug unresolved dependencies in PDE build [message #634480 is a reply to message #634475] Thu, 21 October 2010 20:58 Go to previous messageGo to next message
Laurent Marchal is currently offline Laurent MarchalFriend
Messages: 91
Registered: July 2009
Member
Hi,

I guess you are using a -feature based- product, so you don't have a
button "add required plugins" to easily compute the required dependencies..

I have the same kind of project and it's a nightmare to know the needed
dependencies and add them manually ! But I have a trick I found after
hours of playing with those dependencies / build..

What I do is
* Open the product file
* Click on "Launch an eclipse application" (this will create a launch
configuration synchronized with your product definition)
* Edit this launch configuration and check "validate plugins prior to
lanching"
* Now every time you update one of your features, just click on "Launch
an eclipse application" again and if you have unmet dependencies eclipse
will display them.

You can now fix all the needed dependencies. Then if your project run
fine in eclipse, the build should work too.

Regards,
Laurent Marchal.

Le 10/21/2010 03:33 PM, Jon Svede a écrit :
> I have a product build based on 3.5 running in Hudson. The product is
> features based. The build ran fine until I added a new plugin to my
> target platform.
>
> I updated my product definition, the target definition and all the
> features that require this new plugin. My product export is working fine
> in the IDE. However, nothing I do seems to fix this issue in the build.
> I keep getting the following:
>
> [java] generateFeature:
> ..
> [java] [eclipse.buildScript] Bundle org.myclient.app.editor:
> [java] [eclipse.buildScript] Missing required plug-in
> org.eclipse.nebula.widgets.grid_1.0.0.
>
> And then the build fails. There are other messages in this output, but
> they have been there for a while and have never affected the success of
> the build.
>
> Is there a way to turn on additional debugging in the build that will
> give me a better idea of why it's failing?
>
> In this case, the plugin org.myclient.app.editor has the dependency
> properly listed in dependency tab of the manifest. Additionally, it's
> also enumerated as a dependency in the feature.xml that this plugin is a
> part of (on both the plug-ins and dependencies tabs) as well as the
> parent feature of this feature. I am out of ideas of where else I need
> to specify this dependency.
>
> Thanks in advance.
>
> Jon
Re: how to debug unresolved dependencies in PDE build [message #634484 is a reply to message #634480] Thu, 21 October 2010 21:30 Go to previous messageGo to next message
Jon Svede is currently offline Jon SvedeFriend
Messages: 83
Registered: July 2009
Member
I use the "validate plugins" before the launch, manually. My app runs fine in the IDE and I can export it as a build. I don't have any apparent modifications in my env from what is in the repository.

I am in the process of checking out the projects to a clean workspace to see if maybe something isn't checked in.

Thanks for the suggestion!
Re: how to debug unresolved dependencies in PDE build [message #634495 is a reply to message #634484] Fri, 22 October 2010 00:14 Go to previous messageGo to next message
Jon Svede is currently offline Jon SvedeFriend
Messages: 83
Registered: July 2009
Member
I verified that I can pull all the projects from the repository, set the target platform and open the .product file and export the product without issue. The build is still broken though.

Any pointers of how I can debug this further would be greatly appreciated!

Sincerely,

Jon
Re: how to debug unresolved dependencies in PDE build [message #634561 is a reply to message #634475] Fri, 22 October 2010 08:26 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 769
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi,

Is the nebula bundle available in your build target platform (ie can it be found from the pluginPath) ?
--
Mickael Istria -- BonitaSoft S.A.
http://www.bonitasoft.com/products/BPM_download.php
Previous Topic:java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IPath
Next Topic:PDE Headless build migration to Helios problems.
Goto Forum:
  


Current Time: Thu Nov 27 08:55:38 GMT 2014

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

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