[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Tycho Filter
|
org.zapletnev.app1 is not in the resolved dependencies of the failing module, although it is included in the product. Where is that unit supposed to be coming from?
Regards
Tobias
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Igor Zapletnev
> Sent: Montag, 11. Februar 2013 12:36
> To: Tycho user list
> Subject: Re: [tycho-user] Tycho Filter
>
> Hi Hendrik,
>
> No my product has no any dependencies to the JDT. My product has one
> dependency to the MWE2.launch and it has OPTIONAL LAZY dependency to
> the JDT.
> And after I added a filter to the all versions of JDT I started
> getting incomprehensible messages for me
>
> org.eclipse.tycho:tycho-p2-publisher-plugin:0.16.0:publish-products
> (default-publish-products) on project org.zapletnev.sdt: Exception
> while publishing product
> /Users/zapletnev/Documents/testWs/org.zapletnev.rcp/sdt.product:
> "publishing result": ["Included element org.zapletnev.app1 0.0.0 is
> missing. Cannot determine filter for requirement to this element."] ->
>
> Thanks,
> Igor
>
> On Mon, Feb 11, 2013 at 3:54 PM, Hendrik Eeckhaut
> <hendrik.eeckhaut@xxxxxxxxxx> wrote:
> > 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
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user