Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsMaven+Tycho build completes successfully, but product does not contain application
https://www.eclipse.org/forums/index.php/mv/msg/296452/804470/#msg_804470
We have followed the instructions in the exercises on the tycho site to setup the builds for our plugins, test (fragment) plugins, feature, repository, product and target. However, we are receiving the following error when we unzip and execute our product:
java.lang.RuntimeException: Application "gov.ornl.nice.niceclient.application" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error.
The plugin, gov.ornl.nice.niceclient, is not present in the plugins directory of our product, although it builds completely, passes all of its tests and is part of the feature on which the product is based. We're building on Linux, Windows and Mac, but the plugin does not show up for any of them. We spent all of yesterday trying to figure this out, but were not successful. There are no errors during the build process and running the Maven clean process does not fix it. Has anyone experienced this problem before?
I can share our pom files or logs if they are needed. Thanks in advance for your time!
Jay]]>Jay Billings2012-02-22T17:00:09-00:00Re: Maven+Tycho build completes successfully, but product does not contain application
https://www.eclipse.org/forums/index.php/mv/msg/296452/804611/#msg_804611
I figured out the problem with this. The gov.ornl.nice.niceclient plugin that was not included in the build of the repository had "environment combination" settings specified in the feature.xml file that is used by the product (os, windows system, language, arch). These settings were needed to achieve a successful build with PDEBuild, but removing them resulted in a successful build with Maven+Tycho.