|Re: [tycho-user] Eclipse IDE product build|
The path from source code to executable application has at least two steps:
- build your product (i.e., produce a p2 repository with installable units composing your product)
- materialize/install your product (i.e., create an Eclipse installation)
One can use Tycho to build products, and p2 director to materialize them. There is even a Tycho-p2-Director-Plugin , which lets one call p2 director as a part of Tycho build. This makes Tycho behave similarly to PDE, which builds and materializes products by default .
Anyway, it is unclear from you stack trace and description if the error is thrown by Tycho during build, by p2 director during materialization or by your application at startup. Furthermore, given the mention of org.eclipse.pde.build.Build in the stack trace, one can conceive that you're actually building and installing your product with PDE Build, which is a completely different tool than Tycho.
Finally, there is a tutorial by Lars Vogel on building Eclipse Products with Tycho , which I hope might help you.
Purple Scout AB
Software DeveloperFrom: "Paulo Freitas" <pfreitas1@xxxxxxxxx>
To: "Tycho user list" <tycho-user@xxxxxxxxxxx>
Sent: Thursday, September 20, 2012 4:36:22 AM
Subject: [tycho-user] Eclipse IDE product build_______________________________________________
Hello everyone!I'm developing a eclipse plugin to help the development of applications for a framework called Wind Platform. But I don't want to ship this plugin from an update site, I want to build a comple Eclipse RAP/RCP IDE with this plugin installed. Just like Spring Source guys do with SpringSource Tool Suite.I've been searching around on how to achieve this with tycho, but didn't realize it yet. Currently, I have a product definition (attached) which includes my plugin feature and org.eclipse.rcp feature. But I'm getting the following stacktrace when trying to launch the application (Mac OS).java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director.app.application, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.jdt.core.JavaIndexer, org.eclipse.pde.build.Build.at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke(Method.java:597)at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)at org.eclipse.equinox.launcher.Main.run(Main.java:1408)Help!?
tycho-user mailing list
tycho-user mailing list
Back to the top