[
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
|
Yes, I meant the metadata and artifact
mirrorApplications.
How would you tell if a mirrored site is a faithful mirror
of the original? (The -ignoreerrors arg worries me. I need to know that the
mirror is OK before releasing it to developers in my
company.)
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
You list org.eclipse.equinox.p2.artifact.repository.mirrorApplication twice. I'm assuming that this was just a typo and you
did run org.eclipse.equinox.p2.metadata.repository.mirrorApplication.
First: please note the by adding the
-ignoreErrors some artifacts may not have been downloaded. We're working to
correct this behaviour. Second, I'm
in a weird situation where I try to run the metadata mirrorApplication from the
command line and it tells me my destination is not modifable (which is wrong)
but when I run it out fo ym work space I have no problems. I'm looking into
this.
"Daffin, Miles \(IT\)"
<Miles.Daffin@xxxxxxxxxxxxxxxxx> Sent by: p2-dev-bounces@xxxxxxxxxxx
11/20/2008 10:46 AM
Please respond
to P2 developer discussions
<p2-dev@xxxxxxxxxxx> |
|
To
| "P2 developer discussions"
<p2-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| RE: [p2-dev] P2 Mirror Application
fails to mirror Eclipse repo |
|
I ran both the
org.eclipse.equinox.p2.artifact.repository.mirrorApplication and
org.eclipse.equinox.p2.artifact.repository.mirrorApplication with the
-ignoreerrors and seemed to end up with a viable mirror. I added to the P2 UI of
a test 3.4.0 install. All seemed well. Then I deselected all other sites using
the manager dialog and tried to update the install: no updates found. I looked
at the mirror: it contains the following:
* binary (dir with files in it)
* features (dir with features in
it) * plugins (dir with plugin
jars and tar.gz files?) *
artifacts.jar Note: there is no content.jar. So it looks like
this has failed as well. I tried generating the metadata for the mirror
using the org.eclipse.equinox.p2.metadata.generator.EclipseGenerator. This
completed without error but did not generate the content.xml/jar.
Please let me know if you need more information. 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
From: p2-dev-bounces@xxxxxxxxxxx
[mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Daffin, Miles
(IT)
Sent: 19 November 2008 22:33
To: P2 developer
discussions
Subject: RE: [p2-dev] P2 Mirror Application fails to
mirror Eclipse repo
OK. I will add these arguments and try again - with both apps.
I will report back in the morning (Thurs).
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
From: p2-dev-bounces@xxxxxxxxxxx
[mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Andrew
Cattle
Sent: 19 November 2008 21:06
To: P2 developer
discussions
Subject: RE: [p2-dev] P2 Mirror Application fails to
mirror Eclipse repo
I've just run the artifact mirror application from my workspace with
the following arguments:
-source
http://download.eclipse.org/eclipse/updates/3.4 -destination file:/C:/Temp -verbose -ignoreerrors
The "ignoreerrors" makes it so the
mirror app doesn't fail when ti hits an error. the onyl errors I got
were:
Could not connect to
http://download.eclipse.org/eclipse/updates/3.4/features/com.ibm.icu.base_1.0.0.v20060418-67E18s733I3C93.jar
Could not connect
to
http://download.eclipse.org/eclipse/updates/3.4/binary/org.eclipse.platform.ide.launcher.win32.win32.x86_3.4.0.M20080911-1700
Meaning those 2 could nto be
downloaded due to network issues.
Oddly enough when I run the metadata mirror app I'm
getting errors aobut the repository not being modifiable. I'm looking into
this.
Your
arguments appear correct (if you have preexisting content in your destination
that you plan to keep try adding "-append" to ensure it isn't overwritten). You
can try the "-ignoreerrors" argument, but I'm still getting
problems.
I'm
going to start running the mirror app agian from the command line when I leave
for the day and will report my results tomorrow morning.
"Daffin, Miles \(IT\)"
<Miles.Daffin@xxxxxxxxxxxxxxxxx> Sent by:
p2-dev-bounces@xxxxxxxxxxx
11/18/2008 12:50 PM
Please respond
to P2 developer discussions
<p2-dev@xxxxxxxxxxx> |
|
To
| "P2 developer
discussions" <p2-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| RE: [p2-dev] P2 Mirror Application
fails to mirror Eclipse repo |
|
Folks,
I have just tried using the 3.5M3 version of the mirroring
applications to mirror the eclipse repo: http://download.eclipse.org/eclipse/updates/3.4. The mirror op seemed to complete normally (if
rather quickly - 59 seconds). When I looked in the destination directory this is
what I saw:
* artifacts.jar
* plugins (dir, empty)
I ran the applications
as documented here: http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.isv/guide/p2_mirror.html.
I was expecting a full mirror: features,
plugins, artifacts.jar, content.jar. Was I wrong to expect this?
The output
from running the applications (done using ant) is below. I noted the warning
message: "Retry another mirror". I did this a couple of times with other mirrors
in this list:
http://www.eclipse.org/downloads/download.php?file=/eclipse/updates/3.4&format=xml
The result was
the same.
The output from running the applications is below. Am I doing
something wrong? Please advise. (I am getting rather desperate :)
Thanks,
Miles
----------
[build-log] Mirroring
p2 repository (v2):
[build-log] - source: http://download.eclipse.org/eclipse/updates/3.4
[build-log] - dest :
C:\dev\shadow\eclipseide\update-eclipse\trunk\src/site
[build-log] -
name : MSDE Mirror: Eclipse Project Repository
[delete] Deleting
directory C:\dev\shadow\eclipseide\update-eclipse\trunk\src\site
[mkdir] Created dir:
C:\dev\shadow\eclipseide\update-eclipse\trunk\src\site
[build-log]
[build-log]
Mirroring artifacts from http://download.eclipse.org/eclipse/updates/3.4 to
C:\dev\shadow\eclipseide\update-eclipse\trunk\src/site
[exec]
Install location:
[exec]
file:/c:/dev/shadow/eclipseide/update-eclipse/trunk/build/equinox-p2-agent/
[exec] Configuration file:
[exec]
file:/c:/dev/shadow/eclipseide/update-eclipse/trunk/build/equinox-p2-agent/configuration/config.ini
loaded
[exec] Configuration location:
[exec]
file:/c:/dev/shadow/eclipseide/update-eclipse/trunk/build/equinox-p2-agent/configuration/
[exec] Framework located:
[exec]
file:/c:/dev/shadow/eclipseide/update-eclipse/trunk/build/equinox-p2-agent/plugins/org.eclipse.osgi_3.5.0.v20081027-1700.jar
[exec] Framework classpath:
[exec]
file:/c:/dev/shadow/eclipseide/update-eclipse/trunk/build/equinox-p2-agent/plugins/org.eclipse.osgi_3.5.0.v20081027-1700.jar
[exec] Splash location:
[exec]
null
[exec] Debug options:
[exec]
file:/C:/dev/shadow/eclipseide/update-eclipse/trunk/src/.options not
found
[exec] Time to load bundles: 16
[exec]
Starting application: 2343
[exec] Mirroring:
org.eclipse.equinox.p2.metadata.generator/osgi.bundle/1.0.1.R34x_v20080819
(Descriptor: packed:
org.eclipse.equinox.p2.metadata.generator/osgi.bundle/1.0.1.R
34x_v20080819)
[exec] Mirroring:
org.eclipse.equinox.p2.metadata.generator/osgi.bundle/1.0.1.R34x_v20080819
(Descriptor: canonical:
org.eclipse.equinox.p2.metadata.generator/osgi.bundle/1.0.
1.R34x_v20080819)
[exec] Mirroring:
org.eclipse.ltk.ui.refactoring.source/osgi.bundle/3.4.0.v20080605-1800
(Descriptor: canonical:
org.eclipse.ltk.ui.refactoring.source/osgi.bundle/3.4.0.v20080
605-1800)
[exec] Mirroring:
org.eclipse.ltk.ui.refactoring.source/osgi.bundle/3.4.0.v20080605-1800
(Descriptor: packed:
org.eclipse.ltk.ui.refactoring.source/osgi.bundle/3.4.0.v20080605
-1800)
[exec] Mirroring:
org.eclipse.swt.wpf.win32.x86.source/osgi.bundle/3.4.1.v3449c (Descriptor:
packed: org.eclipse.swt.wpf.win32.x86.source/osgi.bundle/3.4.1.v3449c)
[exec] Retry another mirror
[exec] Start VM: \\ms\dist\msjava\PROJ\sunjdk\1.6.0_04\jre/bin/javaw.exe
[exec] -jar
C:\dev\shadow\eclipseide\update-eclipse\trunk\src\..\build\equinox-p2-agent\\plugins/org.eclipse.equinox.launcher_1.0.200.v20080825-1800.jar
[exec] -os win32
[exec] -ws win32
[exec]
-arch x86
[exec] -showsplash
[exec] -launcher
C:\dev\shadow\eclipseide\update-eclipse\trunk\src\..\build\equinox-p2-agent\eclipse.exe
[exec] -name Eclipse
[exec] --launcher.library
C:\dev\shadow\eclipseide\update-eclipse\trunk\src\..\build\equinox-p2-agent\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20080731-1
700\eclipse_1200.dll
[exec] -startup
C:\dev\shadow\eclipseide\update-eclipse\trunk\src\..\build\equinox-p2-agent\\plugins/org.eclipse.equinox.launcher_1.0.200.v20080825-1800.jar
[exec] -exitdata 1680_1fa8
[exec] -application
org.eclipse.equinox.p2.artifact.repository.mirrorApplication
[exec] -source http://download.eclipse.org/eclipse/updates/3.4
[exec] -destination
file:C:\dev\shadow\eclipseide\update-eclipse\trunk\src/site/
[exec] -verbose
[exec] -debug
[exec] -vm
\\ms\dist\msjava\PROJ\sunjdk\1.6.0_04\jre/bin/javaw.exe
[exec] -vmargs
[exec] -jar
C:\dev\shadow\eclipseide\update-eclipse\trunk\src\..\build\equinox-p2-agent\\plugins/org.eclipse.equinox.launcher_1.0.200.v20080825-1800.jar
[build-log]
Mirror artifacts complete!
[build-log]
[build-log] Mirroring metadata from
http://download.eclipse.org/eclipse/updates/3.4 to
C:\dev\shadow\eclipseide\update-eclipse\trunk\src/site
[exec]
Install location:
[exec]
file:/c:/dev/shadow/eclipseide/update-eclipse/trunk/build/equinox-p2-agent/
[exec] Configuration file:
[exec]
file:/c:/dev/shadow/eclipseide/update-eclipse/trunk/build/equinox-p2-agent/configuration/config.ini
loaded
[exec] Configuration location:
[exec]
file:/c:/dev/shadow/eclipseide/update-eclipse/trunk/build/equinox-p2-agent/configuration/
[exec] Framework located:
[exec]
file:/c:/dev/shadow/eclipseide/update-eclipse/trunk/build/equinox-p2-agent/plugins/org.eclipse.osgi_3.5.0.v20081027-1700.jar
[exec] Framework classpath:
[exec]
file:/c:/dev/shadow/eclipseide/update-eclipse/trunk/build/equinox-p2-agent/plugins/org.eclipse.osgi_3.5.0.v20081027-1700.jar
[exec] Splash location:
[exec]
null
[exec] Debug options:
[exec]
file:/C:/dev/shadow/eclipseide/update-eclipse/trunk/src/.options not
found
[exec] Time to load bundles: 15
[exec]
Starting application: 953
[exec] Mirroring:
org.eclipse.equinox.p2.metadata.generator/osgi.bundle/1.0.1.R34x_v20080819
(Descriptor: packed:
org.eclipse.equinox.p2.metadata.generator/osgi.bundle/1.0.1.R
34x_v20080819)
[exec] Retry another mirror
[exec] Start VM: \\ms\dist\msjava\PROJ\sunjdk\1.6.0_04\jre/bin/javaw.exe
[exec] -jar
C:\dev\shadow\eclipseide\update-eclipse\trunk\src\..\build\equinox-p2-agent\\plugins/org.eclipse.equinox.launcher_1.0.200.v20080825-1800.jar
[exec] -os win32
[exec] -ws win32
[exec]
-arch x86
[exec] -showsplash
[exec] -launcher
C:\dev\shadow\eclipseide\update-eclipse\trunk\src\..\build\equinox-p2-agent\eclipse.exe
[exec] -name Eclipse
[exec] --launcher.library
C:\dev\shadow\eclipseide\update-eclipse\trunk\src\..\build\equinox-p2-agent\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20080731-1
700\eclipse_1200.dll
[exec] -startup
C:\dev\shadow\eclipseide\update-eclipse\trunk\src\..\build\equinox-p2-agent\\plugins/org.eclipse.equinox.launcher_1.0.200.v20080825-1800.jar
[exec] -exitdata 13fc_1fa8
[exec] -application
org.eclipse.equinox.p2.artifact.repository.mirrorApplication
[exec] -source http://download.eclipse.org/eclipse/updates/3.4
[exec] -destination
file:C:\dev\shadow\eclipseide\update-eclipse\trunk\src/site/
[exec] -verbose
[exec] -debug
[exec] -vm
\\ms\dist\msjava\PROJ\sunjdk\1.6.0_04\jre/bin/javaw.exe
[exec] -vmargs
[exec] -jar
C:\dev\shadow\eclipseide\update-eclipse\trunk\src\..\build\equinox-p2-agent\\plugins/org.eclipse.equinox.launcher_1.0.200.v20080825-1800.jar
[build-log]
Mirror metadata complete!
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
From: p2-dev-bounces@xxxxxxxxxxx
[mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Daffin, Miles
(IT)
Sent: 03 November 2008 17:27
To: P2 developer
discussions
Cc: p2-dev-bounces@xxxxxxxxxxx
Subject: RE:
[p2-dev] P2 Mirror Application fails to mirror Eclipse repo
OK. Found the 3.5 M3
download page, so please disregard the second request unless this is
incorrect:
http://download.eclipse.org/equinox/drops/S-3.5M3-200810301917/download.php?dropFile=equinox-p2-agent-3.5M3-win32.zip
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
From: p2-dev-bounces@xxxxxxxxxxx
[mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Daffin, Miles
(IT)
Sent: 03 November 2008 17:20
To: P2 developer
discussions
Cc: p2-dev-bounces@xxxxxxxxxxx
Subject: RE:
[p2-dev] P2 Mirror Application fails to mirror Eclipse repo
Andrew,
Is there any
way in which I can be notified once the releng people have fixed the repository?
I will then try mirroring again using the p2 agent download from the 3.5 m3
release. Please give me the url of the download page for this release. (I have
checked the eclipse downloads page and do not see a reference to
it.)
Thanks,
Miles
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
From: p2-dev-bounces@xxxxxxxxxxx
[mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Pascal
Rapicault
Sent: 03 November 2008 14:33
To: P2 developer
discussions
Cc: P2 developer discussions;
p2-dev-bounces@xxxxxxxxxxx
Subject: RE: [p2-dev] P2 Mirror Application
fails to mirror Eclipse repo
The 3.4/3.4.1 artifact repository is missing some artifacts. To
be precise, the artifact descriptor is in the artifacts.xml but the
corresponding file is not available on disk. This is not a p2 problem but
results from some filtering done by the ant script copying the repo from the
build machine to the server.
The releng team is looking at fixing
this.
"Daffin, Miles
(IT)" ---03/11/2008 08:25:09 AM---Andrew, The problems I reported were during
attempts to mirror the latest version of the eclipse pla
![](gifgONuELBd3O.gif) From:
| ![](gifYEMufaf1ag.gif) "Daffin, Miles (IT)"
<Miles.Daffin@xxxxxxxxxxxxxxxxx>
|
![](gifUTO6IPEYgQ.gif) To:
| ![](gifG6dZ7LZcTL.gif) P2 developer
discussions <p2-dev@xxxxxxxxxxx>
|
![](gifv6rZ_ls5dT.gif) Date:
| ![](gif9Ntejr7uff.gif) 03/11/2008
08:25 AM
|
![](gifjTJ_RtmDUJ.gif) Subject:
| ![](gifi5WB6_E942.gif) RE: [p2-dev]
P2 Mirror Application fails to mirror Eclipse
repo |
Andrew,
The problems I reported were during attempts to
mirror the latest version of the eclipse platform repo, which is 3.4.1 I believe
(released on September 24th). I need to be able to use p2 mirroring tools to
create faithful mirrors of both the eclipse platform and Ganymede repos so that
I can release 3.4.1 internally at my company:
Eclipse platform: http://download.eclipse.org/eclipse/updates/3.4/
Ganymede: http://download.eclipse.org/releases/ganymede/
Thanks,
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
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Andrew Cattle
Sent: 03 November 2008
13:15
To: P2 developer discussions
Subject: RE: [p2-dev] P2
Mirror Application fails to mirror Eclipse repo
I'm currently not willing to say one way or the other whether
this is the cause of the failure, but "com.ibm.icu.base" is one of the missing packages and
not being able to download it seems to be what is causing the catastrophic
failure. I'd like to try and get the artifact.xml cleaned up and try testing the
bug agian before we decided if that was the problem.
>From the tests I've run I'm willing to say that
the problems you're having are most likely related specifically to the 3.4.0
repository. My understanding is that you need to be able to mirror this
repository so I'll let you know once we get it working._______________________________________________
p2-dev mailing
list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
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._______________________________________________
p2-dev mailing
list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
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._______________________________________________
p2-dev mailing
list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
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.