Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Error: Tycho unable to locate the equinox launcher feature

Greetings again.  I am moving from a PDE/Ant based build into Tycho - so probably more questions will be forthcoming :)  

Most of the conversion has been amazingly easy and understandable ( nice change from the mess that is PDE ).  However, I am now encountering issues when trying to execute the tycho-p2-publisher-plugin:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.21.0:publish-products (default-publish-products) on project com.xxx.product: Unable to locate the equinox launcher feature (aka delta-pack) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.21.0:publish-products (default-publish-products) on project com.xxx.product: Unable to locate the equinox launcher feature (aka delta-pack)
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.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to locate the equinox launcher feature (aka delta-pack)
at org.eclipse.tycho.plugins.p2.publisher.PublishProductMojo.getEquinoxExecutableFeature(PublishProductMojo.java:266)
at org.eclipse.tycho.plugins.p2.publisher.PublishProductMojo.publishContent(PublishProductMojo.java:103)
at org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPublishMojo.java:37)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more

Now, I am not necessarily surprised by this error but need/want to understand how Tycho expects to resolve this dependency.  The product I am building is based on a subset of Eclipse features/plugins - so when our clients point to our P2 repository, they get everything they need/can use from a single P2 repo (aka - they aren't pointing to "my" P2 repo + standard Eclipse repo).  I am packaging the org.eclipse.equinox.executable feature in my P2 repository with our relevant/supported O/S fragments. I can see the launcher fragments & root IUs are downloaded in my Maven repository (under the p2  /osgi/bundle & /binary folders respectively).  However, the org.eclipse.equinox.executable feature itself is NOT present in org/eclipse/update/feature directory.  I'm guessing it is because the feature is not listed *product file describing the build.  However, as this is really only a build-time dependency, I would prefer to not add it here.

Any help/insight would be appreciated.  Also, if I am rambling and not making sense - let me know and I will happily address any further questions about my setup.

Andy

Back to the top