Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Maven+Tycho build completes successfully, but product does not contain application(Maven+Tycho build completes successfully, but product does not contain application)
Maven+Tycho build completes successfully, but product does not contain application [message #804470] Wed, 22 February 2012 17:00 Go to next message
Jay Billings is currently offline Jay Billings
Messages: 43
Registered: July 2011
Member
We recently started using Maven+Tycho to handle the build for our Eclipse RCP project. We are very pleased with it and it has been very easy to adopt.

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 Jay Billings
Oak Ridge National Laboratory
Twitter: @jayjaybillings
Re: Maven+Tycho build completes successfully, but product does not contain application [message #804611 is a reply to message #804470] Wed, 22 February 2012 20:26 Go to previous message
Jay Billings is currently offline Jay Billings
Messages: 43
Registered: July 2011
Member
Everyone,

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.

Thanks for your time!

Jay


Jay Jay Billings
Oak Ridge National Laboratory
Twitter: @jayjaybillings
Previous Topic:@since and dependencies in API tooling
Next Topic:Adding jar in deployment assembly
Goto Forum:
  


Current Time: Thu Oct 23 11:55:23 GMT 2014

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

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