[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Asking for advice from p2-experts


https://bugs.eclipse.org/bugs/show_bug.cgi?id=277893 is an enhancement request against PDE/Build to start replacing qualifiers on requirements instead of just includes.
With p2 I think this is becoming more common than it was with the old update.

-Andrew


From: Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx>
To: P2 developer discussions <p2-dev@xxxxxxxxxxx>
Date: 02/02/2010 04:32 PM
Subject: Re: [p2-dev] Asking for advice from p2-experts
Sent by: p2-dev-bounces@xxxxxxxxxxx





Am 02.02.10 22:15, schrieb Pascal Rapicault:
> I was just trying to install the core pieces which is why I did not see
> the error.
>
> I can now get the same error and the message indicates that you are
> looking for a core feature whose version should be [1.0.0.qualifier,
> 2.0.0). The problem is that 1.0.0.2010 is smaller than 1.0.0.qualifier
> and as such the dependency can't be satisfied. So the resolver and the
> error messages are correct.
> Now what is suspicious is that your metadata still contains ".qualifier"
> whereas this should have been replaced at build time, and this is caused
> by the incorrect use of "qualifier" in the import statement of the
> feature which is not replaced at build time
> <requires>
> <import feature="org.eclipse.ufacekit.core.feature"
> version="1.0.0.qualifier"/>
> </requires>
>
> So there are two solutions:
> - Include the core.feature in the ui.feature and continue on using the
> qualifier
> - Keep the current structure and remove .qualifier.
>

Well I guess I'll go with the latter because if I take this further the
includes will pop down even further.

I've just committed the changes let's see what the result will be.

Thanks for your investigation - I'll keep you posted.

Tom

--
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl                                        geschaeftsfuehrer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5/1    A-6020 innsbruck      phone    ++43 512 935834
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev