If I understand you correctly, you have a dependency on JDT during the build of your product, but you do not want JDT plugins in your product itself. You best split the MWE2 part of your plugin in a separate plugin that you do not include in you product. Otherwise will always have conflicting dependencies. Hendrik. On Fri, Feb 8, 2013 at 4:22 AM, Igor Zapletnev <igor.zapletnev@xxxxxxxxx> wrote: > Hi all, > > One of my dependent plug-in (org.eclipse.emf.mwe2.launch) has next dependencies: > > Require-Bundle: > org.eclipse.jdt.launching;bundle-version="3.5.0";resolution:="optional";x-installation:="greedy" > org.eclipse.jdt.core;bundle-version="3.5.0";resolution:="optional";x-installation:="greedy" > org.eclipse.jdt.debug.ui;bundle-version="3.4.1";resolution:="optional";x-installation:="greedy" > > And I want exclude this JDT from my product artifact. > I am trying to use target platform in my rcp to resolve artifacts > (with one update site <repository > location="http://download.eclipse.org/releases/juno/"/>) and looks > like tycho filters is the best way to hide this plug-ins. > > I have added filters in my target platform conf: > > <artifactId>target-platform-configuration</artifactId> > <version>${tycho-version}</version> > <configuration> > <resolver>p2</resolver> > <environments> > <environment> > <os>win32</os> > <ws>win32</ws> > <arch>x86</arch> > </environment> > </environments> > <filters> > <filter> > <type>eclipse-plugin</type> > <id>org.eclipse.jdt.core</id> > <restrictTo> > <versionRange>[3.0,4.0]</versionRange> > </restrictTo> > </filter> > <filter> > <type>eclipse-plugin</type> > <id>org.eclipse.jdt.debug.ui</id> > <restrictTo> > <versionRange>[3.0,4.0]</versionRange> > </restrictTo> > </filter> > <filter> > <type>eclipse-plugin</type> > <id>org.eclipse.jdt.launching</id> > <restrictTo> > <versionRange>[3.0,4.0]</versionRange> > </restrictTo> > </filter> > </filters> > > But I still able to see JDT plug-ins in my produce. > > > Thanks, > Igor > _______________________________________________ > tycho-user mailing list > tycho-user@xxxxxxxxxxx > https://dev.eclipse.org/mailman/listinfo/tycho-user -- Hendrik Eeckhaut, PhD http://www.sigasi.com
↧
Re: [tycho-user] Tycho Filter
↧