Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Buckminster can't resolve org.eclipse.fx.javafx
Buckminster can't resolve org.eclipse.fx.javafx [message #1723936] Fri, 19 February 2016 07:27 Go to next message
Marius Hoffmann is currently offline Marius HoffmannFriend
Messages: 1
Registered: February 2016
Junior Member
I was about to switch our build process from efxclipse 1.2.0 and eclipse juno to efxclipse 2.2.0 and mars. Before I switched, everyhting worked fine. Now after switching, buckminster complains that is can't resolve `org.eclipse.fx.javafx`. I only changed the links and the versions in the target file. When staring the GUI from the IDE (neon) everything works fine, thanks to eclipse magic Sad. But when I committed everything, buckminster on our jenkins complained that it cannot resolve
org.eclipse.fx.javafx


The error is the following

    org.eclipse.fx.javafx:osgi.bundle: No provider was found that could resolve the request
    ERROR   [0003] : No suitable provider for component org.eclipse.fx.javafx:osgi.bundle was found in resourceMap file:/jenkins/jobs/XXX/workspace/XXX/buckminster.rmap
      ERROR   [0003] : No suitable provider for component org.eclipse.fx.javafx:osgi.bundle was found in searchPath local
        ERROR   [0003] : Resolution attempt ended with exception: Provider local(/jenkins/jobs/XXX/workspace/org.eclipse.fx.javafx): Missing CSpec source required by component type osgi.bundle
          ERROR   Provider local(/jenkins/jobs/XXX/workspace/org.eclipse.fx.javafx): Missing CSpec source required by component type osgi.bundleorg.eclipse.buckminster.core.ctype.MissingCSpecSourceException: Provider local(/jenkins/jobs/XXX/workspace/org.eclipse.fx.javafx): Missing CSpec source required by component type osgi.bundle
    	at org.eclipse.buckminster.pde.cspecgen.bundle.BundleBuilder.parsePluginModelBase(BundleBuilder.java:243)
    	at org.eclipse.buckminster.pde.cspecgen.bundle.BundleBuilder.parseFile(BundleBuilder.java:270)
    	at org.eclipse.buckminster.pde.cspecgen.PDEBuilder.build(PDEBuilder.java:70)
    	at org.eclipse.buckminster.core.ctype.AbstractComponentType.getResolution(AbstractComponentType.java:319)
    	at org.eclipse.buckminster.core.ctype.AbstractComponentType.getResolution(AbstractComponentType.java:201)
    	at org.eclipse.buckminster.core.rmap.model.ResourceMap.resolve(ResourceMap.java:340)
    	at org.eclipse.buckminster.core.rmap.model.ResourceMap.resolve(ResourceMap.java:252)
    	at org.eclipse.buckminster.core.resolver.ResourceMapResolver.innerResolve(ResourceMapResolver.java:218)
    	at org.eclipse.buckminster.core.resolver.ResolverNodeWithJob.resolve(ResolverNodeWithJob.java:217)
    	at org.eclipse.buckminster.core.resolver.ResolverNodeWithJob.run(ResolverNodeWithJob.java:102)
    	at org.eclipse.buckminster.core.resolver.ResolverNodeWithJob$NodeResolutionJob.run(ResolverNodeWithJob.java:47)
    	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)


my target file looks like this

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <?pde version="3.8"?><target name="GUI Target" sequenceNumber="52">
    <locations>
    <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
    <unit id="org.eclipse.fx.target.feature.feature.group" version="2.2.0.201512110704"/>
    <repository location="http://download.eclipse.org/efxclipse/runtime-released/2.2.0/site/"/>
    </location>
    <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
    <unit id="org.eclipse.equinox.sdk.feature.group" version="0.0.0"/>
    <repository location="http://download.eclipse.org/releases/mars"/>
    </location>
    </locations>
    <includeBundles>
    <plugin id="org.eclipse.equinox.launcher"/>
    <plugin id="org.eclipse.equinox.launcher.source"/>
    <plugin id="org.eclipse.equinox.launcher.gtk.linux.x86_64"/>
    </includeBundles>
    </target>


and my rmap file looks like this

    <?xml version="1.0" encoding="UTF-8"?>
    <rm:rmap xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0" xmlns:rm="http://www.eclipse.org/buckminster/RMap-1.0">
      <rm:locator pattern="^*" searchPathRef="local"/>
      <rm:searchPath name="local">
        <rm:provider componentTypes="eclipse.feature,osgi.bundle" readerType="local">
          <rm:uri format="{0}/{1}">
            <bc:propertyRef key="workspace.root"/>
            <bc:propertyRef key="buckminster.component"/>
          </rm:uri>
        </rm:provider>
      </rm:searchPath>
    </rm:rmap>


So far I understand the problem, but I don't know how to tell buckminster how to resolve the missing package.
Re: Buckminster can't resolve org.eclipse.fx.javafx [message #1724008 is a reply to message #1723936] Fri, 19 February 2016 16:48 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6313
Registered: July 2009
Senior Member
org.eclipse.fx.javafx is not needed anymore so it is not shipped in the
target platform.

See
https://www.eclipse.org/forums/index.php?t=msg&th=1063826&goto=1688516&#msg_1688516

Tom

On 19.02.16 15:52, Marius Hoffmann wrote:
> I was about to switch our build process from efxclipse 1.2.0 and eclipse
> juno to efxclipse 2.2.0 and mars. Before I switched, everyhting worked
> fine. Now after switching, buckminster complains that is can't resolve
> `org.eclipse.fx.javafx`. I only changed the links and the versions in
> the target file. When staring the GUI from the IDE (neon) everything
> works fine, thanks to eclipse magic :(. But when I committed everything,
> buckminster on our jenkins complained that it cannot resolve
> org.eclipse.fx.javafx
>
> The error is the following
>
> org.eclipse.fx.javafx:osgi.bundle: No provider was found that could
> resolve the request
> ERROR [0003] : No suitable provider for component
> org.eclipse.fx.javafx:osgi.bundle was found in resourceMap
> file:/jenkins/jobs/XXX/workspace/XXX/buckminster.rmap
> ERROR [0003] : No suitable provider for component
> org.eclipse.fx.javafx:osgi.bundle was found in searchPath local
> ERROR [0003] : Resolution attempt ended with exception:
> Provider local(/jenkins/jobs/XXX/workspace/org.eclipse.fx.javafx):
> Missing CSpec source required by component type osgi.bundle
> ERROR Provider
> local(/jenkins/jobs/XXX/workspace/org.eclipse.fx.javafx): Missing CSpec
> source required by component type
> osgi.bundleorg.eclipse.buckminster.core.ctype.MissingCSpecSourceException:
> Provider local(/jenkins/jobs/XXX/workspace/org.eclipse.fx.javafx):
> Missing CSpec source required by component type osgi.bundle
> at
> org.eclipse.buckminster.pde.cspecgen.bundle.BundleBuilder.parsePluginModelBase(BundleBuilder.java:243)
>
> at
> org.eclipse.buckminster.pde.cspecgen.bundle.BundleBuilder.parseFile(BundleBuilder.java:270)
>
> at
> org.eclipse.buckminster.pde.cspecgen.PDEBuilder.build(PDEBuilder.java:70)
> at
> org.eclipse.buckminster.core.ctype.AbstractComponentType.getResolution(AbstractComponentType.java:319)
>
> at
> org.eclipse.buckminster.core.ctype.AbstractComponentType.getResolution(AbstractComponentType.java:201)
>
> at
> org.eclipse.buckminster.core.rmap.model.ResourceMap.resolve(ResourceMap.java:340)
>
> at
> org.eclipse.buckminster.core.rmap.model.ResourceMap.resolve(ResourceMap.java:252)
>
> at
> org.eclipse.buckminster.core.resolver.ResourceMapResolver.innerResolve(ResourceMapResolver.java:218)
>
> at
> org.eclipse.buckminster.core.resolver.ResolverNodeWithJob.resolve(ResolverNodeWithJob.java:217)
>
> at
> org.eclipse.buckminster.core.resolver.ResolverNodeWithJob.run(ResolverNodeWithJob.java:102)
>
> at
> org.eclipse.buckminster.core.resolver.ResolverNodeWithJob$NodeResolutionJob.run(ResolverNodeWithJob.java:47)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
>
> my target file looks like this
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <?pde version="3.8"?><target name="GUI Target" sequenceNumber="52">
> <locations>
> <location includeAllPlatforms="false" includeConfigurePhase="true"
> includeMode="slicer" includeSource="true" type="InstallableUnit">
> <unit id="org.eclipse.fx.target.feature.feature.group"
> version="2.2.0.201512110704"/>
> <repository
> location="http://download.eclipse.org/efxclipse/runtime-released/2.2.0/site/"/>
>
> </location>
> <location includeAllPlatforms="false" includeConfigurePhase="true"
> includeMode="slicer" includeSource="true" type="InstallableUnit">
> <unit id="org.eclipse.equinox.sdk.feature.group" version="0.0.0"/>
> <repository location="http://download.eclipse.org/releases/mars"/>
> </location>
> </locations>
> <includeBundles>
> <plugin id="org.eclipse.equinox.launcher"/>
> <plugin id="org.eclipse.equinox.launcher.source"/>
> <plugin id="org.eclipse.equinox.launcher.gtk.linux.x86_64"/>
> </includeBundles>
> </target>
>
> and my rmap file looks like this
>
> <?xml version="1.0" encoding="UTF-8"?>
> <rm:rmap xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0"
> xmlns:rm="http://www.eclipse.org/buckminster/RMap-1.0">
> <rm:locator pattern="^*" searchPathRef="local"/>
> <rm:searchPath name="local">
> <rm:provider componentTypes="eclipse.feature,osgi.bundle"
> readerType="local">
> <rm:uri format="{0}/{1}">
> <bc:propertyRef key="workspace.root"/>
> <bc:propertyRef key="buckminster.component"/>
> </rm:uri>
> </rm:provider>
> </rm:searchPath>
> </rm:rmap>
>
> So far I understand the problem, but I don't know how to tell
> buckminster how to resolve the missing package.
Previous Topic:Installing Scenebuilder?
Next Topic:opening a ui modeled dialogue from main thread leads to exception
Goto Forum:
  


Current Time: Sat May 27 00:22:39 GMT 2017

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

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