Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-update-dev] Controlling the Eclipse update policy/Supportfor creating local (proxy) update sites

Phillipe,

Thanks, that seems to work fine (created the site for the one feature I
specified as a test). 

I have a few other simple questions that I hope you have time for. (We
want to do an internal mirror of the callisto site.)

1. From the argument list it seems that one can either mirror an entire
site or a specific version of one specific feature. Is this tool smart
enough to grab dependent features too (like the IDE update manager)?

2. Can one pass a list of features to the tool somehow, or do I need to
run the tool once for each feature I want to mirror (assuming I do not
want to mirror everything)?

3. How big is the callisto site (where can I find this information)?

4. If I do a selective callisto mirror (not all features) what will
happen if a user selects a feature I have not mirrored? Will this fail
because it is not mirrored or will the user's IDE bypass the mirror site
and go direct to callisto (for example)?

Many thanks,

Miles

-----Original Message-----
From: Philippe Ombredanne [mailto:pombredanne@xxxxxxxxx] 
Sent: 05 July 2006 21:25
To: Daffin, Miles (IT)
Cc: platform-update-dev@xxxxxxxxxxx
Subject: RE: [platform-update-dev] Controlling the Eclipse update
policy/Supportfor creating local (proxy) update sites

Miles:
you are hitting two things I think:
- first its sounds like the Callisto update site is missing some packed
jars.
- second this should not fail but is documented in bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=139760
I guess the mirro command attempts to get packed200 jars (the pack.gz)
and fails if it cannot find them for every plugins.

The workaround I use is to use an Eclipse 3.1 install to run the
standalone mirror command against.
This is all hacky I reckon. But at least a workaround. :-)
3.1 will ignore (ie not download) the enhanced packed jars and
digest.zip (becasue 3.1 has no knowledge of that), but it will mirror
the site fine (minus those "not critical" yet "would have been nice to
have" compression/speed enhancements).

The resulting mirrored site will work fine.


--
Cheers
Philippe

philippe ombredanne | 1 650 799 0949 | pombredanne at nexb.com nexB -
Open by Design (tm) - http://www.nexb.com http://EasyEclipse.org  -
irc://irc.freenode.net/easyeclipse



> -----Original Message-----
> From: Daffin, Miles (IT) [mailto:Miles.Daffin@xxxxxxxxxxxxxxxxx]
> Sent: Wednesday, July 05, 2006 10:27 AM
> To: Philippe Ombredanne
> Cc: platform-update-dev@xxxxxxxxxxx
> Subject: RE: [platform-update-dev] Controlling the Eclipse update 
> policy/Supportfor creating local (proxy) update sites
> 
> 
> Thanks Phillipe. I don't think I would have found that info there.
> 
> I just ran a test which errored in the following way. Any ideas?
> 
> !SESSION 2006-07-05 18:22:35.772
> -----------------------------------------------
> eclipse.buildId=I20060602-1317
> java.version=1.5.0_06
> java.vendor=BEA Systems, Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Framework

> arguments:
> 	-application org.eclipse.update.core.standaloneUpdate 
> 	-command mirror 
> 	-from http://download3.eclipse.org/callisto/releases/ 
> 	-to H:\public_html\msde_callisto -featureId org.apache.batik.pdf
> 
> 	-version 1.6.0.v20060613-1220-0842282835-3442 
> 	-mirrorURL http://myweb-eu.ms.com/~daffinm/msde_callisto/
> Command-line arguments:  
> 	-application org.eclipse.update.core.standaloneUpdate 
> 	-command mirror 
> 	-from http://download3.eclipse.org/callisto/releases/ 
> 	-to H:\public_html\msde_callisto 
> 	-featureId org.apache.batik.pdf 
> 	-version 1.6.0.v20060613-1220-0842282835-3442 
> 	-mirrorURL http://myweb-eu.ms.com/~daffinm/msde_callisto/
> 
> !ENTRY org.eclipse.update.core 4 0 2006-07-05 18:22:40.476 !MESSAGE 
> Unable to retrieve remote reference 
> "http://download3.eclipse.org/callisto/releases/plugins/org.ap
> ache.batik
> .pdf_1.6.0.v20060613-1220.jar.pack.gz". [Server returned HTTP response
> code: "404 Not Found" for URL:
> http://download3.eclipse.org/callisto/releases/plugins/org.apa
> che.batik.
> pdf_1.6.0.v20060613-1220.jar.pack.gz.]
> !STACK 0
> org.eclipse.update.internal.core.FatalIOException: Server returned 
> HTTP response code: "404 Not Found" for URL:
> http://download3.eclipse.org/callisto/releases/plugins/org.apa
> che.batik.
> pdf_1.6.0.v20060613-1220.jar.pack.gz.
> 	at
> org.eclipse.update.internal.core.UpdateManagerUtils.checkConne
> ctionResul
> t(UpdateManagerUtils.java:558)
>
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender.  Sender does not waive confidentiality or privilege, and use is prohibited.


Back to the top