Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Maven+Tycho build completes successfully, but product does not contain application


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!


On Wed, Feb 22, 2012 at 12:33 PM, Jay Jay Billings <jayjaybillings@xxxxxxxxx> wrote:

Here it is:

<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>

<product name="NiCE" uid="nice.product" id="gov.ornl.nice.niceclient.product" application="gov.ornl.nice.niceclient.application" version="2.0.0" useFeatures="true" includeLaunchers="true">

   <configIni use="default">

      <programArgs>-consoleLog -console -clean</programArgs>
      <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>

   <launcher name="NiCE">
      <win useIco="false">



      <feature id="gov.ornl.nice.feature" version="2.0.0"/>
      <feature id="org.eclipse.rcp" version="3.7.1.r37x_v20110729-9DB5FmNFnFLSFCtLxnRfMqt15A4A"/>

      <plugin id="gov.ornl.nice.niceclient" autoStart="true" startLevel="0" />
      <plugin id="gov.ornl.nice.nicecore" autoStart="true" startLevel="0" />
      <plugin id="gov.ornl.nice.niceitem" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
      <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.osgi" autoStart="true" startLevel="-1" />



On Wed, Feb 22, 2012 at 12:10 PM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx> wrote:
Can you show the content of your application product file ?


On Wed, Feb 22, 2012 at 4:22 PM, Jay Jay Billings <jayjaybillings@xxxxxxxxx> wrote:

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,

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 any logs if they are needed. Thanks in advance for your time!

Jay Jay Billings

tycho-user mailing list


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

tycho-user mailing list

Back to the top