Right way to use the embedded Guava Library? [message #1159223] |
Mon, 28 October 2013 07:26  |
Eclipse User |
|
|
|
Hello Everyone,
i'm actually uncapable to use the guava library coming with e(fx)clipse. I have a really basic example. My Application run perfectly, now i want to use for example Preconditions.checknotnull . What i done before is to add into App Bundles the Guava Bundle too or just importing the package containing Preconditions into "Imported Packages".
But while compiling i have a Error saying that the product cant find the Guava Bundle. I also add needed Plugins into the Run Configuration, but nothing change.
How is the right to integrate and propely use Guava with e(fx)clipse?
|
|
|
|
|
|
|
|
|
|
Re: Right way to use the embedded Guava Library? [message #1217382 is a reply to message #1216844] |
Thu, 28 November 2013 17:28  |
Eclipse User |
|
|
|
Well my Target Plattform cannot reach the "runtime-nightly" site anymore. Now i set the location to eclipse_home.
Still having Error while i run my Product :
!ENTRY org.eclipse.osgi 2 0 2013-11-28 23:12:58.113
!MESSAGE Info: cycle(s) found while stopping bundles: [[org.eclipse.core.contenttype,org.eclipse.core.runtime,org.eclipse.equinox.registry,org.eclipse.equinox.preferences,org.eclipse.equinox.app]].
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.18.0:publish-products (default-publish-products) on project my.demo.app.product: Exception while publishing product C:\WS_DEMO\my.demo.app.product\my.demo.app.product.product: "publishing result": ["Included element my.demo.app.feature.feature.group 1.0.0.201311282212 is missing. Cannot determine filter for requirement to this element."] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.18.0:publish-products (default-publish-products) on project my.demo.app.product: Exception while publishing product C:\WS_DEMO\my.demo.app.product\my.demo.app.product.product
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:167)
at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:163)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: org.apache.maven.plugin.MojoExecutionException: Exception while publishing product C:\WS_DEMO\my.demo.app.product\my.demo.app.product.product
at org.eclipse.tycho.plugins.p2.publisher.PublishProductMojo.publishContent(PublishProductMojo.java:96)
at org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPublishMojo.java:38)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 13 more
Caused by: org.eclipse.tycho.p2.tools.FacadeException: "publishing result": ["Included element my.demo.app.feature.feature.group 1.0.0.201311282212 is missing. Cannot determine filter for requirement to this element."]
at org.eclipse.tycho.p2.tools.publisher.PublisherServiceImpl.handlePublisherStatus(PublisherServiceImpl.java:168)
at org.eclipse.tycho.p2.tools.publisher.PublisherServiceImpl.executePublisher(PublisherServiceImpl.java:157)
at org.eclipse.tycho.p2.tools.publisher.PublisherServiceImpl.publishProduct(PublisherServiceImpl.java:92)
at org.eclipse.tycho.plugins.p2.publisher.PublishProductMojo.publishContent(PublishProductMojo.java:92)
... 16 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
|
|
|
Powered by
FUDForum. Page generated in 0.02556 seconds