Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Wierd difference between Tycho build and PDE build (includes "Search Support")

check https://bugs.eclipse.org/bugs/show_bug.cgi?id=342704

you may have optional dependencies along the transitive dependency chain of your product which drag in 'org.eclipse.search'

Regards
Jan

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of motes motes
Sent: Montag, 11. Juli 2011 14:22
To: Tycho user list
Subject: [tycho-user] Wierd difference between Tycho build and PDE build (includes "Search Support")

I have a small RCP application that I am currently building with PDE
build and tycho.

When I build it with PDE build and starts the application everything
looks correct.

But when I build it with tycho and starts the application I get the
"Search" entry in the menubar and the "Search" icon in the toolbar
(the "Search Support" shows up under installed plugins).

When I go to the plugins folder of my application I see that the
bundle org.eclipse.search is included but this is not the case when I
look into the same folder of the PDE build.

I have looked through my bundles but there is no dependency on
o.e.search. In the target folder of the tycho build of the product I
have:

base.product.second
 |->target
      |-> products
               |-> targetPlatformRepository
                          |-> content.xml


which contains:

    <unit id='org.eclipse.search' version='3.6.0.v20100520-0800'>
      <update id='org.eclipse.search'
range='[0.0.0,3.6.0.v20100520-0800)' severity='0'/>
      <properties size='5'>
        <property name='df_LT.providerName' value='Eclipse.org'/>
        <property name='df_LT.pluginName' value='Search Support'/>
        <property name='org.eclipse.equinox.p2.name' value='%pluginName'/>
        <property name='org.eclipse.equinox.p2.provider' value='%providerName'/>
        <property name='org.eclipse.equinox.p2.bundle.localization'
value='plugin'/>
      </properties>
      <provides size='16'>
        <provided namespace='org.eclipse.equinox.p2.iu'
name='org.eclipse.search' version='3.6.0.v20100520-0800'/>
        <provided namespace='osgi.bundle' name='org.eclipse.search'
version='3.6.0.v20100520-0800'/>
        <provided namespace='java.package'
name='org.eclipse.search.core.text' version='0.0.0'/>
        <provided namespace='java.package'
name='org.eclipse.search.internal.core.text' version='0.0.0'/>
        <provided namespace='java.package'
name='org.eclipse.search.internal.ui' version='0.0.0'/>
        <provided namespace='java.package'
name='org.eclipse.search.internal.ui.text' version='0.0.0'/>
        <provided namespace='java.package'
name='org.eclipse.search.internal.ui.util' version='0.0.0'/>
....

Any ideas why org.eclipse.search is included and activated in the
application build with tycho?
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top