Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Eclipse IDE product build

Hi Paulo,

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 [1], 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 [2].

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 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 [3], which I hope might help you.


Kind regards,
Mikhail Kalkov

Purple Scout AB
Software Developer

From: "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.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,
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(


tycho-user mailing list

Back to the top