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

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

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

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">
   </configIni>

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

   <launcher name="NiCE">
      <solaris/>
      <win useIco="false">
         <bmp/>
      </win>
   </launcher>

   <vm>
   </vm>

    <plugins></plugins>

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

   <configurations>
      <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" />
   </configurations>

</product>


Jay


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

Jeff

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

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

Jay Jay Billings



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Jeff MAURY

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

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




Back to the top