[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[p2-dev] RE: Metadata generator app creates metadata that causesIUinstallation to fail
|
The basic point here is that, when I mirror the IvyDE
update site I get meta data that allows me to install the Apache IvyDE and
Apache Ivy features. If I generate metadata for the site using the p2 metadata
generator app then I get metadata that causes installation to fail. Does anyone
know why this might be and why the 2 operations result in different metadata? Is
different code being used in each case?
Why do I care? Because I need to create a large, mixed
mirror based on stuff from update sites across the planet. This one problem
means that I may need to create a separate internal repo just for IvyDE since
the only way to get viable p2 meta for it is a straight mirror. This is not very
convenient.
Thanks,
Miles
Miles Daffin
Morgan Stanley | IDEAS PRACTICE
AREAS
20 Cabot
Square | Canary Wharf | Floor 01
London, E14 4QW
Phone: +44 20
7677-5119
Fax: +44 20 7056-4572
Miles.Daffin@xxxxxxxxxxxxxxxxx
If anyone has read this message and you need more
information I will happily provide it.
As a workaround I tried copying the mirrored metadata
(which works - allows me to install Apache Ivy and Apache IvyDE) into the build
directory. I then ran the metadata generator over the result in append mode
hoping that it would merely add metadata to the initial set. Unfortunately it
rewrote the sections on the Apache IUs and resulted in metadata that caused
installation of the Apache Ivy IU to fail.
Thanks.
Miles
Hi
All,
I have run into a
problem whilst trying to mirror the Apache IvyDE site. Here are the steps to
reproduce:
- Mirror http://www.apache.org/dist/ant/ivyde/updatesite using
mirror apps from 3.5M3 as per these docs: http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring
- Try installing
both IUs from mirror into vanilla 3.4.1 install: success.
- Uninstall both
IUs from 3.4.1
- Discard mirrored
metadata and generate using the metadata generator app (also from 3.5M3) as
per these docs: http://wiki.eclipse.org/Equinox_p2_Metadata_Generator
- Try installing
both IUs from the resulting mirror (with new metadata): install fails with the
following error:
Unsatisfied dependency:
[org.apache.ivy.feature.feature.group 2.0.0.cr2] requiredCapability:
org.eclipse.equinox.p2.iu/org.apache.ivy/[2.0.0.cr2,2.0.0.cr2]
Unsatisfied
dependency: [org.apache.ivy.feature.feature.group 2.0.0.cr2]
requiredCapability:
org.eclipse.equinox.p2.iu/org.apache.ivy/[2.0.0.cr2,2.0.0.cr2]
I do not know how
to interpret this error but it seems to me that there is some kind of
circularity occurring here. Does anyone have any idea what is going wrong and
where?
Thanks,
Miles
Miles Daffin
Morgan Stanley |
Technology
20
Cabot Square | Canary Wharf | Floor 01
London, E14 4QW
Phone: +44 20
7677-5119
Fax: +44 20 7056-4572
Miles.Daffin@xxxxxxxxxxxxxxxxx
NOTICE: If received in error, please destroy and
notify sender. Sender does not intend to waive confidentiality or privilege. Use
of this email is prohibited when received in error.
NOTICE: If received in error, please destroy and
notify sender. Sender does not intend to waive confidentiality or privilege. Use
of this email is prohibited when received in error.
NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.