[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [p2-dev] P2 Mirror Application fails to mirror Eclipse repo
|
Just out of interest I used the
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator application to
regenerate the metadata for my mirror of the Eclipse repository. Here is what I
got (again different). I have included the original results and added a 3rd line
for each file: generated3 refers to the version generated using the above
application:
Eclipse
repo:
------------
artifacts.xml
- downloaded:
663,552 bytes; artifacts size='1674'
- generated1: 831,488 bytes; artifacts
size='1829'
- generated2: 741,376 bytes;
artifacts size='1671'
- generated3: 258,048 bytes; artifacts
size='717'
content.xml
- downloaded: 3,956,736 bytes; units
size='1373'
- generated1: 4,001,792
bytes; units size='1373'
- generated2:
4,001,792 bytes; units
size='1373'
- generated3: 3,158,016 bytes; units
size='854'
I added the
mirror site with newly generated metadata to my P2 UI. It loaded
fine.
Miles Daffin
Morgan Stanley |
Technology
20
Cabot Square | Canary Wharf | Floor 06
London, E14 4QW
Phone: +44 20
7677-5119
Fax: +44 20 7056-4572
Miles.Daffin@xxxxxxxxxxxxxxxxx
Andrew,
I was using
org.eclipse.equinox.p2.tools.MirrorApplication. The version was from the cvs
trunk about 3 months ago. I checked out the org.eclipse.equinox.p2.tools project
and exported the MirrorApplication plugin into the dropins folder of my p2 agent
download. It was not bundled with the p2 agent as per this
bug:
I do not believe that any work has been done on this
project/plugin in the meantime. I synced up regularly and did not notice any
changes coming down. Do you know of any?
I was using the
org.eclipse.equinox.p2.tools.MirrorApplication to mirror the eclipse and
Ganymede repositories:
My comparisons were between metadata that had been
generated by the MirrorApplication in the mirror versions and metadata
that had been manually downloaded from the original sites (above) using a web
browser.
Miles Daffin
Morgan Stanley |
Technology
20
Cabot Square | Canary Wharf | Floor 06
London, E14 4QW
Phone: +44 20
7677-5119
Fax: +44 20 7056-4572
Miles.Daffin@xxxxxxxxxxxxxxxxx
This is curious.
What version of the mirror application are
you using? There's a version in the p2.tools package that doesn't really work
and I [reletively] recently made some major bug fixes for the versions stored in
the metadata.repository and artifact.repository packages. Also, are these repositories generated by the
MirrorApplication or pre-existing?
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.