Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » 'No product definitions found' in tycho build(RCP build failing to materialize product)
'No product definitions found' in tycho build [message #1856902] Sun, 08 January 2023 17:03 Go to next message
Craig Foote is currently offline Craig FooteFriend
Messages: 217
Registered: July 2009
Senior Member
Hello, I have a simple set of projects to create an RCP product, built by tycho-3.0.1 and using JavaSE-18. The projects' structure:

targetplatform: eclipse 4.26.0 (2022-12), junit.jupiter and swtbot (eclipse-target-definition)
ui: Application.e4xmi, GUI classes, .product file and product extension in plugin.xml (eclipse-plugin)
feature: references ui plugin (eclipse-feature)
repository: category.xml with feature (eclipse-repository)
ui.tests: swtbot fragment (eclipse-test-plugin)

The build completes but there's no executable created. Checking the console output, I see:

[INFO] --- tycho-p2-director-plugin:3.0.1:materialize-products (materialize-products) @ ca.footeware.e4.application.ui ---
[INFO] No product definitions found. Nothing to do.

I've verified that synchronizing the product updates the extension. The pom has the standard p2-director snippet:


What am I missing or doing wrong?

[Updated on: Mon, 09 January 2023 17:24]

Report message to a moderator

Re: 'No product definitions found' in tycho build [message #1856928 is a reply to message #1856902] Mon, 09 January 2023 19:20 Go to previous message
Craig Foote is currently offline Craig FooteFriend
Messages: 217
Registered: July 2009
Senior Member
Progress update:
I eventually moved the .product and its splash.bmp to its own .product project, with eclipse-repository packaging. Building works and generates a feature repository and a trio of executables. Running the built executable works but running the product inside eclipse (Eclipse Application launcher specifying the product) causes the following non-fatal error:

!SESSION 2023-01-09 14:16:29.426 -----------------------------------------------
java.vendor=Private Build
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
Framework arguments:  -product ca.footeware.e4.application.ui.product -clearPersistedState
Command-line arguments:  -product ca.footeware.e4.application.ui.product -data /home/craig/eclipse-workspace/../runtime-ca.footeware.e4.application.product -dev file:/home/craig/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/ca.footeware.e4.application.product-RUN/ -os linux -ws gtk -arch x86_64 -consoleLog -clearPersistedState

!ENTRY org.eclipse.e4.ui.workbench 4 0 2023-01-09 14:16:31.182
!MESSAGE Unable to resolve plug-in "ca.footeware.e4.application.product".
!STACK 0 Unable to resolve plug-in "ca.footeware.e4.application.product".
	at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(
	at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.resolve(
	at org.eclipse.core.internal.boot.PlatformURLHandler.openConnection(
	at org.eclipse.osgi.internal.url.URLStreamHandlerProxy.openConnection(
	at java.base/
	at org.eclipse.core.internal.runtime.PlatformURLConverter.resolve(
	at org.eclipse.core.runtime.FileLocator.resolve(
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.initializeStyling(
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(
	at java.base/java.lang.reflect.Method.invoke(
	at org.eclipse.equinox.launcher.Main.invokeFramework(
	at org.eclipse.equinox.launcher.Main.basicRun(
	at org.eclipse.equinox.launcher.Main.main(

Any ideas how to get rid of that?
Previous Topic:How can i add multiple banner with eclipse rcp?
Next Topic:Force usage of external browser for help
Goto Forum:

Current Time: Fri Jun 21 14:54:51 GMT 2024

Powered by FUDForum. Page generated in 0.04142 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top