Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Define a local p2

you need to include feature

"org.eclipse.equinox.executable"

in your repository if you want to build native launchers.

we need to improve the error message.

"the equinox launcher feature (aka delta-pack)"

is obviously not as helpful as it could be when trying to understand what is missing.

Regards,
Jan


> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
> On Behalf Of Julien SIEGA
> Sent: Dienstag, 30. Juni 2015 08:38
> To: tycho-user@xxxxxxxxxxx
> Subject: [tycho-user] Define a local p2
> 
> Hi everyone,
> 
> i'm using tycho since 2 years now without any problem.
> 
> But now i'm facing a new chalenge, currently all my repository are
> stored on internet. For example i'm using
> http://download.eclipse.org/releases/luna. Now i want to have all my
> repositories in local, so i have created a p2 with everything (included
> delta pack). But i got a problem, if i choose to not generate the native
> launcher everything works fine, but if i try to add it i got this :
> 
> [ERROR] Failed to execute goal
> org.eclipse.tycho:tycho-p2-publisher-plugin:0.22.0:publish-products
> (default-publish-products) on project com.airbus.workman.repository:
> 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.22.0:publish-products
> (default-publish-products) on project com.airbus.workman.repository:
> Unable to locate the equinox launcher feature (aka delta-pack)
>      at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:21
> 6)
>      at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:15
> 3)
>      at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:14
> 5)
>      at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Lifec
> ycleModuleBuilder.java:108)
>      at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Lifec
> ycleModuleBuilder.java:76)
>      at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuil
> der.build(SingleThreadedBuilder.java:51)
>      at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter
> .java:116)
>      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
>      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
>      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
>      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
>      at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>      at java.lang.reflect.Method.invoke(Unknown Source)
>      at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.jav
> a:289)
>      at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>      at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.j
> ava:415)
>      at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> 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.getEquinoxExecutabl
> eFeature(PublishProductMojo.java:258)
>      at
> org.eclipse.tycho.plugins.p2.publisher.PublishProductMojo.publishContent(Publ
> ishProductMojo.java:95)
>      at
> org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPu
> blishMojo.java:37)
>      at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPlu
> ginManager.java:133)
>      at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:20
> 8)
>      ... 19 more
> 
> I don't know what i'm missing !! any ideas ?
> 
> Thank you
> Have a good day.
> Julien
> 
> --
> Julien SIEGA - Artal technologies
> Technical Lead Citrus Ecosystem
> 227 Rue Pierre Gilles de Gennes
> Ensemble "La Rue" - Bat 9 31670 Labège
> Tel : (+33) 5 61 00 39 42
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user

Back to the top