[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [p2-dev] p2 installer trouble

Ciao Boris :)
I found two solutions for you:
1.) Explicitely use a mirror, e.g.:
eclipse.p2.metadata=http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse
/eclipse/updates/3.5/R-3.5-200906111540/
eclipse.p2.artifacts=http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclips
e/eclipse/updates/3.5/R-3.5-200906111540/

2.) Download the SDK zip, unzip it to a temp dir and point to it like
so:
eclipse.p2.metadata=file:/<sdk
dir>/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile
/<latest profile>
eclipse.p2.artifacts=file:/<sdk dir>

e.g.:
eclipse.p2.metadata=file:/C:/tmp/installs/eclipse-vm-arg/p2/org.eclipse.
equinox.p2.engine/profileRegistry/SDKProfile.profile/1247742757793.profi
le
eclipse.p2.artifacts=file:/C:/tmp/installs/eclipse-vm-arg  

Using one of these two ways you can test your scenarios and learn about
shared installs while the p2 team gets a chance to look at why the
composite repo does not seem to work with the installer, and to answer
your questions .... 

HTH,
Ciao, hh

-----Original Message-----
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On
Behalf Of ???????? ???????????
Sent: Thursday, July 16, 2009 4:49 PM
To: P2 developer discussions
Subject: Re: [p2-dev] p2 installer trouble

Hi John,

I see the url you provided is the default one describe in the
installer.properties file, as i already said this doesn't work and it
produces the error missing repository that can be found in the attached
logs.
Could you please answer my questions above or if there is any, provide
some articles that clears the usage of bundle pooling that describe how
to enable it programatically via the p2 apis, that would be very very
useful, i would be happy if you just explain the procedure to enable it
programtically. I only found the wiki and some blogs that are highly
insufficient.
If this is not possible could you please provide another url or step by
step process with which i can perform "Shared Install" of eclipse. 

Best Regards
Borislav



2009/7/16 John Arthorne <John_Arthorne@xxxxxxxxxx>



	You get a 404 because p2 repositories are not web sites.
Browsers don't know what to do with them. Although the Galileo release
repository URL below is correct, it isn't the right site for using the
installer because the release train repository doesn't have all the bits
needed by the installer, such as the launchers, root files, etc. You
need to use the Eclipse project repository: 
	
	http://download.eclipse.org/eclipse/updates/3.5 
	
	You'll get a 404 for this URL too in the browser, because it's
not a web site. You can see that it has contents though by browsing to
this URL: 
	
	
http://download.eclipse.org/eclipse/updates/3.5/compositeContent.jar 
	
	John 
	
	
	
	
	
"Haigermoser, Helmut" <Helmut.Haigermoser@xxxxxxxxxxxxx> 

Sent by: p2-dev-bounces@xxxxxxxxxxx 

07/16/2009 06:50 AM 

Please respond to
P2 developer discussions <p2-dev@xxxxxxxxxxx>

To
"P2 developer discussions" <p2-dev@xxxxxxxxxxx> 	
cc
	
Subject
RE: [p2-dev] p2 installer trouble	

		




	Hm, not sure what's going on there, whereever you click on
	http://download.eclipse.org/releases/galileo/, you'll get a 404.
	Not sure there is much you can do at this point, maybe
eclipse.org is
	not ready for this kind of usage?
	
	You could revert to downloading the SDK the old way, as a zip,
from
	here:
	
http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/i
	ndex.php
	
	These installations are roaming installations, but have no extra
bundle
	pool that could be shared across products...
	HTH,
	Ciao, hh
	
	
	-----Original Message-----
	From: p2-dev-bounces@xxxxxxxxxxx
[mailto:p2-dev-bounces@xxxxxxxxxxx] On
	Behalf Of ???????? ???????????
	Sent: Thursday, July 16, 2009 12:34 PM
	To: P2 developer discussions
	Subject: Re: [p2-dev] p2 installer trouble
	
	Thanks for the fast reply.
	So can you please tell what repo/installer.properties should i
use in
	this case? Or if there is other way to perform a "shared
install"(not
	with the p2 installer)? 
	
	Best Regards
	Borislav
	
	
	2009/7/16 Haigermoser, Helmut <Helmut.Haigermoser@xxxxxxxxxxxxx>
	
	
	Ah, I see, there is no artifact repo published at
	http://download.eclipse.org/releases/galileo (/artifacts.jar)
	Hm, I'm sure there is a good reason for that, but at least
	install.properties in the installer drop needs to be fixed to
	reflect
	the new repos,
	also, the arguments look a lot like 3.4 arguments...
	
	HTH,
	Ciao, hh
	
	-----Original Message-----
	From: p2-dev-bounces@xxxxxxxxxxx
	[mailto:p2-dev-bounces@xxxxxxxxxxx] On
	Behalf Of ???????? ???????????
	
	Sent: Thursday, July 16, 2009 11:55 AM
	To: P2 developer discussions
	Subject: Re: [p2-dev] p2 installer trouble
	
	Still not working, produces the same missing repository error..
	
	
	2009/7/16 Haigermoser, Helmut <Helmut.Haigermoser@xxxxxxxxxxxxx>
	
	
	Ciao Borislav :)
	Try using "http://download.eclipse.org/releases/galileo";
	instead..
	HTH,
	Ciao, hh
	
	
	
	-----Original Message-----
	From: p2-dev-bounces@xxxxxxxxxxx
	[mailto:p2-dev-bounces@xxxxxxxxxxx] On
	Behalf Of ???????? ???????????
	Sent: Thursday, July 16, 2009 11:10 AM
	To: p2-dev@xxxxxxxxxxx
	Subject: [p2-dev] p2 installer trouble
	
	Hi,
	
	I tried to use the p2 installer posted here:
	
	
	
http://download.eclipse.org/equinox/drops/I20090714-0800/index.php
	and here:
	
	
	
http://download.eclipse.org/equinox/drops/R-3.5-200906111540/index.php
	
	
	
<http://download.eclipse.org/equinox/drops/R-3.5-200906111540/index.php>
	and i failed to have it run successfully. I want to perform a
	"Shared
	install". When i select the destination and the shared install
	option i
	go with "install" and the installation fails with the error logs
	i
	attached to this mail - the two logs are from the different
	versions i
	used, but the result is the same. I use the default
	installer.propeties,
	i attached them too. It seems there is no repository at the
	default
	location.
	How can i solve this issue and is there another way to perform a
	"shared
	install"? Or can you give a link with a correct repository that
	i can
	use?
	
	Best Regards
	Borislav
	
	
	_______________________________________________
	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
	
	
	
	_______________________________________________
	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