Home » Eclipse Projects » Rich Client Platform (RCP) » Dependency error on PDE feature in Eclipse 3.2.1
Dependency error on PDE feature in Eclipse 3.2.1 [message #463067] |
Mon, 05 February 2007 21:16 |
Eclipse User |
|
|
|
Originally posted by: ronny.bremers.cc
Hi all,
I have successfully developed a small RCP application which I would like
to export as a product. In order to use the update site feature I have
built my product based on features.
When I am using only standard RCP stuff, all is fine. The dependency to
RCP runtime gets resolved and my app works in both Eclipse target and
can be exported.
However, I want to show the Error Log View included in the PDE runtime.
So I added it to my perspective.java file. Now the problem starts.
When I add the feature PDE to my product dependencies, I get the error
during export, that org.eclipse.pde.build_3.2.1_r321.###.jar can not be
found. But if I do not include the dependency, the app cannot resolve
the pde.runtime bundle.
I am kinda stuck here. Searching the eclipse forums for some days didnt
help either.
I read a few books about RCP programming, but it also doesnt show any
hint.
Could you please tell me on how to solve this dependency issue?
Thanks in advance.
Ron
|
|
|
Re: Dependency error on PDE feature in Eclipse 3.2.1 [message #463069 is a reply to message #463067] |
Mon, 05 February 2007 22:21 |
Snjezana Peco Messages: 789 Registered: July 2009 |
Senior Member |
|
|
org.eclipse.pde.runtime doesn't depend on org.eclipse.pde.build,
but you probably have some other plugin which depends on
org.eclipse.pde.build.
Anyway, you should check if org.eclipse.pde.build.xxxx exists in your
application and try to remove the version of the org.eclipse.pde.build
plugin in the feature.xml file.
Snjeza
Ronny Bremer wrote:
> Hi all,
>
> I have successfully developed a small RCP application which I would like
> to export as a product. In order to use the update site feature I have
> built my product based on features.
>
> When I am using only standard RCP stuff, all is fine. The dependency to
> RCP runtime gets resolved and my app works in both Eclipse target and
> can be exported.
>
> However, I want to show the Error Log View included in the PDE runtime.
> So I added it to my perspective.java file. Now the problem starts.
> When I add the feature PDE to my product dependencies, I get the error
> during export, that org.eclipse.pde.build_3.2.1_r321.###.jar can not be
> found. But if I do not include the dependency, the app cannot resolve
> the pde.runtime bundle.
>
> I am kinda stuck here. Searching the eclipse forums for some days didnt
> help either.
>
> I read a few books about RCP programming, but it also doesnt show any
> hint.
>
> Could you please tell me on how to solve this dependency issue?
>
> Thanks in advance.
>
> Ron
>
|
|
|
Re: Dependency error on PDE feature in Eclipse 3.2.1 [message #463076 is a reply to message #463069] |
Tue, 06 February 2007 04:42 |
Eclipse User |
|
|
|
Originally posted by: ronny.bremers.cc
Snjeza,
thank you for your prompt reply.
The only dependency I have added is to include the LogView view. So all
I did is in Perspective.java:
layout.addView("org.eclipse.pderuntime.LogView");
Now in order not to get a runtime error ("cannot resolve view ID....") I
added "org.eclipse.pde" as a dependent feature for the product (and
checked the plugin in the target configuration of course).
So I assume, I do not have any other dependency on org.eclipse.build.
org.eclipse.build.xxx exists (but as a directory not a jar file) in both
my IDE and the target. The feature.xml tells PDE to extract the build
jar into a dir (btw, thats the only plugin of the PDE feature which gets
extracted).
I will edit the feature.xml and remove the dependency. See how it works.
Thanks!
Ron
On Mon, 2007-02-05 at 23:21 +0100, Snjezana Peco wrote:
> org.eclipse.pde.runtime doesn't depend on org.eclipse.pde.build,
> but you probably have some other plugin which depends on
> org.eclipse.pde.build.
> Anyway, you should check if org.eclipse.pde.build.xxxx exists in your
> application and try to remove the version of the org.eclipse.pde.build
> plugin in the feature.xml file.
>
> Snjeza
>
> Ronny Bremer wrote:
> > Hi all,
> >
> > I have successfully developed a small RCP application which I would like
> > to export as a product. In order to use the update site feature I have
> > built my product based on features.
> >
> > When I am using only standard RCP stuff, all is fine. The dependency to
> > RCP runtime gets resolved and my app works in both Eclipse target and
> > can be exported.
> >
> > However, I want to show the Error Log View included in the PDE runtime.
> > So I added it to my perspective.java file. Now the problem starts.
> > When I add the feature PDE to my product dependencies, I get the error
> > during export, that org.eclipse.pde.build_3.2.1_r321.###.jar can not be
> > found. But if I do not include the dependency, the app cannot resolve
> > the pde.runtime bundle.
> >
> > I am kinda stuck here. Searching the eclipse forums for some days didnt
> > help either.
> >
> > I read a few books about RCP programming, but it also doesnt show any
> > hint.
> >
> > Could you please tell me on how to solve this dependency issue?
> >
> > Thanks in advance.
> >
> > Ron
> >
|
|
|
Re: Dependency error on PDE feature in Eclipse 3.2.1 [message #463138 is a reply to message #463069] |
Tue, 06 February 2007 22:39 |
Eclipse User |
|
|
|
Originally posted by: ronny.bremers.cc
Snjeza,
I did what you suggested and edited the feature.xml file of the PDE
feature in the target. I had to remove almost all dependencies but now
it works.
Thank you!
Do you think I should add that to the bugzilla database or do you
consider this to be normal behavior?
Ron
On Mon, 2007-02-05 at 23:21 +0100, Snjezana Peco wrote:
> org.eclipse.pde.runtime doesn't depend on org.eclipse.pde.build,
> but you probably have some other plugin which depends on
> org.eclipse.pde.build.
> Anyway, you should check if org.eclipse.pde.build.xxxx exists in your
> application and try to remove the version of the org.eclipse.pde.build
> plugin in the feature.xml file.
>
> Snjeza
>
> Ronny Bremer wrote:
> > Hi all,
> >
> > I have successfully developed a small RCP application which I would like
> > to export as a product. In order to use the update site feature I have
> > built my product based on features.
> >
> > When I am using only standard RCP stuff, all is fine. The dependency to
> > RCP runtime gets resolved and my app works in both Eclipse target and
> > can be exported.
> >
> > However, I want to show the Error Log View included in the PDE runtime.
> > So I added it to my perspective.java file. Now the problem starts.
> > When I add the feature PDE to my product dependencies, I get the error
> > during export, that org.eclipse.pde.build_3.2.1_r321.###.jar can not be
> > found. But if I do not include the dependency, the app cannot resolve
> > the pde.runtime bundle.
> >
> > I am kinda stuck here. Searching the eclipse forums for some days didnt
> > help either.
> >
> > I read a few books about RCP programming, but it also doesnt show any
> > hint.
> >
> > Could you please tell me on how to solve this dependency issue?
> >
> > Thanks in advance.
> >
> > Ron
> >
|
|
|
Re: Dependency error on PDE feature in Eclipse 3.2.1 [message #463149 is a reply to message #463138] |
Wed, 07 February 2007 00:53 |
Snjezana Peco Messages: 789 Registered: July 2009 |
Senior Member |
|
|
I suppose that it is normal behavior. You have probably had some
unresolved dependency (dependencies) that has been added unnecessarily.
Snjeza
Ronny Bremer wrote:
> Snjeza,
>
> I did what you suggested and edited the feature.xml file of the PDE
> feature in the target. I had to remove almost all dependencies but now
> it works.
>
> Thank you!
>
> Do you think I should add that to the bugzilla database or do you
> consider this to be normal behavior?
>
> Ron
>
> On Mon, 2007-02-05 at 23:21 +0100, Snjezana Peco wrote:
>> org.eclipse.pde.runtime doesn't depend on org.eclipse.pde.build,
>> but you probably have some other plugin which depends on
>> org.eclipse.pde.build.
>> Anyway, you should check if org.eclipse.pde.build.xxxx exists in your
>> application and try to remove the version of the org.eclipse.pde.build
>> plugin in the feature.xml file.
>>
>> Snjeza
>>
>> Ronny Bremer wrote:
>>> Hi all,
>>>
>>> I have successfully developed a small RCP application which I would like
>>> to export as a product. In order to use the update site feature I have
>>> built my product based on features.
>>>
>>> When I am using only standard RCP stuff, all is fine. The dependency to
>>> RCP runtime gets resolved and my app works in both Eclipse target and
>>> can be exported.
>>>
>>> However, I want to show the Error Log View included in the PDE runtime.
>>> So I added it to my perspective.java file. Now the problem starts.
>>> When I add the feature PDE to my product dependencies, I get the error
>>> during export, that org.eclipse.pde.build_3.2.1_r321.###.jar can not be
>>> found. But if I do not include the dependency, the app cannot resolve
>>> the pde.runtime bundle.
>>>
>>> I am kinda stuck here. Searching the eclipse forums for some days didnt
>>> help either.
>>>
>>> I read a few books about RCP programming, but it also doesnt show any
>>> hint.
>>>
>>> Could you please tell me on how to solve this dependency issue?
>>>
>>> Thanks in advance.
>>>
>>> Ron
>>>
>
|
|
|
Goto Forum:
Current Time: Thu Sep 12 13:57:25 GMT 2024
Powered by FUDForum. Page generated in 0.04182 seconds
|