Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316134

Summary: Profile id _SELF_ is not registered.
Product: [Eclipse Project] Equinox Reporter: micky0008
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: irbull
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description micky0008 CLA 2010-06-08 10:02:55 EDT
Build Identifier: I20100527-1700

When I try to install a new eclipse plug-in with the CVS exemple:
org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility

i have this message: Profile id _SELF_ is not registered.

the eclipse version is 3.6 (the same problem with 3.5.2 but the exemple is in "the inital commit" verison)

where is this bug ?

:(



Reproducible: Always

Steps to Reproduce:
1. install eclipse (3.5.2 or 3.6)
2. choose a new project => CVS => "project from CVS"
3. merge the field for the CVS folder: ":pserver:anonymous@dev.eclipse.org:/cvsroot/rt"
4. choose the exemple: org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility 
5. choose the last version (HEAD version)
6. run the exemple with "run as a eclipse application"
7. In the RCP Application click on Tools->install new software
8. click Add button (on the top-right corner)
9. put anything on the 1st field
10. put http://www.eclipse.org/equinox/p2/testing/updateSite
11. click "OK"
12. wait a little bit (wait until to 3 categorie appared)
13. select anything
14. click next
15. the error message appared
Comment 1 Ian Bull CLA 2010-06-08 22:45:02 EDT
There are a few things that could be at play here:

1. When you self-host "launch as Eclipse application" are you sure that you have the p2 bundles selected?  This includes the p2 bundles, the needed ecf bundles, DS and the *equinox.util. DS must also be started.


2. In Eclipse 3.6 there is a checky (on the configuration tab in the launch configuration) that says "Support software installation in the launched application". Can you make sure this is checked?
Comment 2 micky0008 CLA 2010-06-09 11:12:51 EDT
Yes it's works!
for the 3.6 it's works.
"Support software installation in the launched application"
was not checked. and now it's ok.

But!!! whas not fixe for 3.5.2 and for me it's not necessery...

Thank you!!

Michael


(In reply to comment #1)
> There are a few things that could be at play here:
> 
> 1. When you self-host "launch as Eclipse application" are you sure that you
> have the p2 bundles selected?  This includes the p2 bundles, the needed ecf
> bundles, DS and the *equinox.util. DS must also be started.
> 
> 
> 2. In Eclipse 3.6 there is a checky (on the configuration tab in the launch
> configuration) that says "Support software installation in the launched
> application". Can you make sure this is checked?
Comment 3 Ian Bull CLA 2010-06-09 12:49:12 EDT
Yes, this feature was just added in 3.6.  If you think this was difficult, image how the p2 team felt when they implemented p2 and could not self host ;-).
Comment 4 micky0008 CLA 2010-06-10 03:36:16 EDT
lol
thank you again...