Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » P2 dev » p2 in RCP Update Manager- Profile id _SELF_ is not registered error
p2 in RCP Update Manager- Profile id _SELF_ is not registered error [message #528337] Tue, 20 April 2010 04:22 Go to next message
Marcel A. is currently offline Marcel A.
Messages: 112
Registered: July 2009
Senior Member
Hello,

i want to implement the p2 update manager in my RCP application using Eclipse 3.6 M6. The UI works fine so far after but if i want to install a new plugin from a remote site i get this error message:
"Profile id _SELF_ is not registered".
I searched in the Internet for this error but found no sufficient answer.
I added the following plugins for p2:

org.eclipse.equinox.p2.ui
org.eclipse.equinox.p2.metadata
org.eclipse.equinox.p2.metadata.repository
org.eclipse.equinox.p2.artifact.repository
org.eclipse.equinox.p2.extensionlocation
org.eclipse.equinox.p2.updatesite
org.eclipse.equinox.p2.director
org.eclipse.equinox.p2.engine
org.eclipse.equinox.p2.core
org.eclipse.ecf
org.eclipse.ecf.filetransfer
org.eclipse.ecf.identity
org.eclipse.ecf.provider.filetransfer
org.eclipse.ecf.provider.filetransfer.httpclient
org.apache.commons.codec
org.apache.commons.httpclient
org.eclipse.equinox.p2.ui.sdk
org.eclipse.equinox.ds


Any help is really appreciated.





Re: p2 in RCP Update Manager- Profile id _SELF_ is not registered error [message #538409 is a reply to message #528337] Mon, 07 June 2010 11:25 Go to previous messageGo to next message
Micky is currently offline Micky
Messages: 1
Registered: June 2010
Junior Member
BUMP!

yes i know we are not on 4chan ^^

but i have the same problem if anyone have the ansewer... it's really great

Please...
Re: p2 in RCP Update Manager- Profile id _SELF_ is not registered error [message #540024 is a reply to message #538409] Mon, 14 June 2010 11:45 Go to previous message
Andrew Niefer is currently offline Andrew Niefer
Messages: 990
Registered: July 2009
Senior Member
To use p2 your product must itself have been properly installed using p2, this results in metadata being created under eclipse/p2.

If you are exporting your product from the UI, make sure you check the "Generate metadata repository" option during export. This will generate metadata and properly install your product for you using p2.

If you are doing a headless build, you will need to turn on p2 for the build by setting "p2.gathering=true" in the build configuration build.properties file.
Find some help here: http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. pde.doc.user/tasks/pde_p2_builds.htm

Previous Topic:Forum existence
Next Topic:Update eclipse.ini using P2
Goto Forum:
  


Current Time: Wed Jul 23 22:33:21 EDT 2014

Powered by FUDForum. Page generated in 0.01587 seconds