Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Remove Eclipse update sites from my RCP product
Remove Eclipse update sites from my RCP product [message #659475] Mon, 14 March 2011 08:45 Go to next message
Praveen  is currently offline Praveen Friend
Messages: 86
Registered: July 2009
Member
Our RCP product ships with entire Eclipse SDK bundle. So, when our product is built, update sites are available in Available Software Sites for both Eclipse and our product. I have been trying to remove/disable Eclipse update sites from the list of Available Software Sites.
However, the removeRepository commands that I used didn't work :

instructions.unconfigure=\
org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(t ype:0,location:http${#58}//download.eclipse.org/releases/hel ios);\
org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(t ype:1,location:http${#58}//download.eclipse.org/releases/hel ios);\

I am able to add an update site from the same p2.inf file. I tried placing p2.inf in feature and META-INF folder of plugin. The content.xml file at buildDirectory/buildRepo/ contains the instructions of removeRepository.

I would like to know whether it is possible to remove/disable the Eclipse update sites in this scenario.

Looking forward for any inputs.
Re: Remove Eclipse update sites from my RCP product [message #659510 is a reply to message #659475] Mon, 14 March 2011 11:31 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 03/14/2011 04:45 AM, Praveen wrote:
> However, the removeRepository commands that I used didn't work :
>
> instructions.unconfigure=\
> org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(t
> ype:0,location:http${#58}//download.eclipse.org/releases/hel ios);\
> org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(t
> ype:1,location:http${#58}//download.eclipse.org/releases/hel ios);\


Shouldn't that be part of your configure instructions, as you want
installation of the IU to remove those URLs.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Remove Eclipse update sites from my RCP product [message #659512 is a reply to message #659510] Mon, 14 March 2011 11:40 Go to previous message
Praveen  is currently offline Praveen Friend
Messages: 86
Registered: July 2009
Member
I tried these removeRepository instructions under instructions.configure section as well. Since it didn't work that way, I switched to unconfigure section looking at various examples of p2.inf.

I am wondering this hits https://bugs.eclipse.org/bugs/show_bug.cgi?id=269843 ?
Previous Topic:servlet bridge / osgi in web container
Next Topic:Component will not get activated
Goto Forum:
  


Current Time: Thu Apr 25 07:24:20 GMT 2024

Powered by FUDForum. Page generated in 0.03014 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top