[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [p2-dev] Asking for advice from p2-experts
|
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.
Tom Schindl ---02/02/2010 03:35:11 PM---Hi Pascal,
![]()
From: | ![]()
Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx> |
![]()
To: | ![]()
P2 developer discussions <p2-dev@xxxxxxxxxxx> |
![]()
Date: | ![]()
02/02/2010 03:35 PM |
![]()
Subject: | ![]()
Re: [p2-dev] Asking for advice from p2-experts |
Hi Pascal,
Sorry to bother you once more but I just tried this myself with 3.5.1 on
OS-X but I'm failing there as well but with a completely different error.
The installer UI tells me:
------8<------
Cannot complete the install because one or more required items could not
be found.
Software being installed: UFK - UI - Feature 1.0.0.201001261804
(org.eclipse.ufacekit.ui.feature.feature.group 1.0.0.201001261804)
Missing requirement: UFK - UI - Feature 1.0.0.201001261804
(org.eclipse.ufacekit.ui.feature.feature.group 1.0.0.201001261804)
requires 'org.eclipse.ufacekit.core.feature.feature.group
[1.0.0.qualifier,2.0.0)' but it could not be found
------8<------
To me those "feature.feature" entries look strange.
My process was the following:
* I downloaded the zip
* unzipped
* Add an Software site pointing to the directory
* Selected all features
So I wonder how you managed to install it, same error message I get on
3.6M5 too.
Tom
Am 02.02.10 21:15, schrieb Pascal Rapicault:
> I don't think there is nothing wrong with your metadata since I can
> succesfully install the content of the site in the running 3.5.x
> This makes me believe that there is a bug in the Target platform
> management in PDE. Please open a bug against PDE UI so they can
> investigate and maybe provide a workaround.
>
> Inactive hide details for Tom Schindl ---02/02/2010 02:46:10 PM---Hi,Tom
> Schindl ---02/02/2010 02:46:10 PM---Hi,
>
>
> From:
> Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx>
>
> To:
> p2-dev@xxxxxxxxxxx
>
> Date:
> 02/02/2010 02:46 PM
>
> Subject:
> [p2-dev] Asking for advice from p2-experts
>
> ------------------------------------------------------------------------
>
>
>
> Hi,
>
> I'm running into strange problems with p2 in my Eclipse-Project named
> UFaceKit. Thanks to Chris A. I have a working athena build but when I
> try to create a target platform from it p2 tells me that it can't
> resolve versions of dependencies who I'm sure are available.
>
> Whereas when creating a target platform by hand (extracting the plugins
> and creating a target platform) everything works as expeceted.
>
> Naturally in my workspace all is working well too and I have no version
> conflicts at all.
>
> To reproduce the problem you need to do the following:
> * Download the nightly build from here [1]
> * Add it to your list of updatesites
> * Create a new target platform using the Base-RCP-Template (you need at
> least 3.5.1)
> * Try to install and you'll see the conflict
>
> Though I guess you guys would have know how to do this without the
> explanation.
>
> I guess I will need only someone who can point me in the right direction
> what's wrong with my plugins/build/version definitions (probably not p2
> is the culprit but how the build who creates incorrect metadata).
>
> Thanks for any pointers
>
> Tom
>
> [1]https://build.eclipse.org/hudson/job/cbi-UFaceKit-nightly/lastSuccessfulBuild/artifact/build/N201001261802/ufacekit-Update-N201001261802.zip
>
> --
> 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
>
>
>
>
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev
--
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
![GIF image](gifDrbCqe9NCh.gif)
![GIF image](gifF4WTRDTVj_.gif)