Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Problem with Target Platform.
Problem with Target Platform. [message #1690792] Tue, 31 March 2015 10:08 Go to next message
Piotr Iksowski is currently offline Piotr IksowskiFriend
Messages: 27
Registered: October 2014
Junior Member
Hi again,
I have tried to configure plugin using Tycho. I've prepared plugin project, feature project, Target platform project, update site project and global project.

I'm using FXViewPart component so according to tutorial:
https://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial2
I'm adding to Target platform project target with location for ${eclipse_home} and for http://download.eclipse.org/efxclipse/runtime-nightly/site

Everything builds fine.

Unfortunately when I'm trying to install built update site (by "Install new software"), there appears problem with target platform:
Cannot complete the install because one or more required items could not be found.
  Software being installed: SomeFeature 1.0.0.201503301727 (SomeFeature.feature.group 1.0.0.201503301727)
  Missing requirement: SomePlug 1.0.0.201503301727 (SomePlug 1.0.0.201503301727) requires 'bundle org.eclipse.fx.ui.workbench3 0.0.0' but it could not be found
  Cannot satisfy dependency:
    From: SomeFeature 1.0.0.201503301727 (SomeFeature.feature.group 1.0.0.201503301727)
    To: SomePlug [1.0.0.201503301727]


Do you have any idea what could be the reason of such problem ? I'll be greatefull for any help.
Re: Problem with Target Platform. [message #1690796 is a reply to message #1690792] Tue, 31 March 2015 10:35 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
On 31.03.15 12:08, Piotr Iksowski wrote:
> Hi again,
> I have tried to configure plugin using Tycho. I've prepared plugin
> project, feature project, Target platform project, update site project
> and global project.
>
> I'm using FXViewPart component so according to tutorial:
> https://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial2
> I'm adding to Target platform project target with location for
> ${eclipse_home} and for
> http://download.eclipse.org/efxclipse/runtime-nightly/site
>
> Everything builds fine.
>
> Unfortunately when I'm trying to install built update site (by "Install
> new software"), there appears problem with target platform:
>
> Cannot complete the install because one or more required items could not
> be found.
> Software being installed: SomeFeature 1.0.0.201503301727
> (SomeFeature.feature.group 1.0.0.201503301727)
> Missing requirement: SomePlug 1.0.0.201503301727 (SomePlug
> 1.0.0.201503301727) requires 'bundle org.eclipse.fx.ui.workbench3 0.0.0'
> but it could not be found
> Cannot satisfy dependency:
> From: SomeFeature 1.0.0.201503301727 (SomeFeature.feature.group
> 1.0.0.201503301727)
> To: SomePlug [1.0.0.201503301727]
>
>
> Do you have any idea what could be the reason of such problem ? I'll be
> greatefull for any help.
>

Did you add org.eclipse.fx.ui.workbench3 to your feature? Please also
note that you are working against the nightly-builds which might make
things break in a 1.2.0 IDE install.

Tom
Re: Problem with Target Platform. [message #1690810 is a reply to message #1690796] Tue, 31 March 2015 12:49 Go to previous messageGo to next message
Piotr Iksowski is currently offline Piotr IksowskiFriend
Messages: 27
Registered: October 2014
Junior Member
Thomas Schindl wrote on Tue, 31 March 2015 10:35

Did you add org.eclipse.fx.ui.workbench3 to your feature?
Tom


Yes, I added it to feature.xml as dependency.
Re: Problem with Target Platform. [message #1690843 is a reply to message #1690810] Tue, 31 March 2015 14:47 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
As a dependency won't help! You need to package it directly into the
feature or make sure that the e4-update site is available as well, when
installing so that p2 can resolve it from there.

Tom

On 31.03.15 14:49, Piotr Iksowski wrote:
> Thomas Schindl wrote on Tue, 31 March 2015 10:35
>> Did you add org.eclipse.fx.ui.workbench3 to your feature? Tom
>
>
> Yes, I added it to feature.xml as dependency.
Re: Problem with Target Platform. [message #1690889 is a reply to message #1690843] Tue, 31 March 2015 19:13 Go to previous messageGo to next message
Piotr Iksowski is currently offline Piotr IksowskiFriend
Messages: 27
Registered: October 2014
Junior Member
Thomas Schindl wrote on Tue, 31 March 2015 14:47
As a dependency won't help! You need to package it directly into the
feature or make sure that the e4-update site is available as well, when
installing so that p2 can resolve it from there.


1. Ok. If I don't want to package it in the feature, then where this site can be set ? I thought, that it can be done in "Locations" part of *.target file, but it seems that not (when I'm doing it, there are still problems with detecting javafx things and osgi.fx*). Adding whole stuff into feature makes it giant.

2. There is also some other problem. If I'm adding whole content into the feature, then plugin will install without problems in Eclipse that hasn't e(fx)clipse plugin. In case when Eclipse has e(fx)clipse plugin, then my plugin will overrite it. I don't want to to overrite e(fx)clipse plugin. Is there any way to add some condition for it ?

Sorry if my questions are stupid, but I'm reading manual by manual and nowhere is described step by step where and what should be set. For beginner in Eclipse PDE, JavaFX, Maven and Tycho amount of options quite huge.

[Updated on: Wed, 01 April 2015 10:50]

Report message to a moderator

Re: Problem with Target Platform. [message #1691268 is a reply to message #1690792] Sat, 04 April 2015 09:43 Go to previous message
Oskar Mamrzynski is currently offline Oskar MamrzynskiFriend
Messages: 1
Registered: April 2015
Junior Member
I have exactly the same problem.

Tutorial 2 on e(fx)clipse site says how to create a plugin uses JavaFX view, but does not say how to deploy it. I can't deploy my plugin, because I have unsatisfied dependencies, e.g. on the workbench.
Previous Topic:Problem with threads.
Next Topic:java.lang.ClassNotFoundException: org.eclipse.osgi.framework.internal.core.BundleHost
Goto Forum:
  


Current Time: Sat Apr 27 01:56:00 GMT 2024

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

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

Back to the top