Problem with Target Platform. [message #1690792] |
Tue, 31 March 2015 06:08  |
Eclipse User |
|
|
|
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 #1690889 is a reply to message #1690843] |
Tue, 31 March 2015 15:13   |
Eclipse User |
|
|
|
Thomas Schindl wrote on Tue, 31 March 2015 14:47As 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 06:50] by Moderator
|
|
|
Re: Problem with Target Platform. [message #1691268 is a reply to message #1690792] |
Sat, 04 April 2015 05:43  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.04452 seconds