Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » p2/pde testing p2 software update in rcp application using IDE (not running deployed build)
p2/pde testing p2 software update in rcp application using IDE (not running deployed build) [message #114322] Thu, 17 July 2008 14:16 Go to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
I wish to use the p2 software update in my RCP application, and I would
like to test the "client" side of it in the IDE (I don't want to run the
headless build and run the application).

Is it possible to have the PDE mechanism create the necessary p2 profile
for this to happen.

Currently when I run the Help -> Software update, it gives me the dialog
that it cannot be run because
ProvisioningUtil.getProfile(IProfileRegistry.SELF) does not find the
profile (because it's not there).

Thanks,

Francis
--
*new* Common Navigator Framework section in:
3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go


Re: p2/pde testing p2 software update in rcp application using IDE (not running deployed build) [message #114364 is a reply to message #114322] Thu, 17 July 2008 20:33 Go to previous messageGo to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
This bug addresses this issue:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=224658

Apparently having a real profile created is not part of the 3.4
functionality.

Francis Upton (News) wrote:
> I wish to use the p2 software update in my RCP application, and I would
> like to test the "client" side of it in the IDE (I don't want to run the
> headless build and run the application).
>
> Is it possible to have the PDE mechanism create the necessary p2 profile
> for this to happen.
>
> Currently when I run the Help -> Software update, it gives me the dialog
> that it cannot be run because
> ProvisioningUtil.getProfile(IProfileRegistry.SELF) does not find the
> profile (because it's not there).
>
> Thanks,
>
> Francis


--
*new* Common Navigator Framework section in:
3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go


Re: p2/pde testing p2 software update in rcp application using IDE (not running deployed build) [message #114590 is a reply to message #114364] Fri, 18 July 2008 19:00 Go to previous messageGo to next message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
In the CVS repo there is a plug-in called org.eclipse.equinox.p2.selfhosting
which was an attempt at doing what you are suggesting but it has not been
used in months (not sure it compiles). the idea is with that installed in
your dev environement a proper p2 profile would get generated on startup of
the launch configuration.

We are hoping to revive this in 3.5, but it is unclear if this will happen
with the workload we have.

"Francis Upton (News)" <francisu@ieee.org> wrote in message
news:g5oaag$fu5$1@build.eclipse.org...
> This bug addresses this issue:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=224658
>
> Apparently having a real profile created is not part of the 3.4
> functionality.
>
> Francis Upton (News) wrote:
>> I wish to use the p2 software update in my RCP application, and I would
>> like to test the "client" side of it in the IDE (I don't want to run the
>> headless build and run the application).
>>
>> Is it possible to have the PDE mechanism create the necessary p2 profile
>> for this to happen.
>>
>> Currently when I run the Help -> Software update, it gives me the dialog
>> that it cannot be run because
>> ProvisioningUtil.getProfile(IProfileRegistry.SELF) does not find the
>> profile (because it's not there).
>>
>> Thanks,
>>
>> Francis
>
>
> --
> *new* Common Navigator Framework section in:
> 3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
> http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
> http://dev.eclipse.org/blogs/francis
> http://wiki.eclipse.org/Common_Navigator_Framework
> http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases
>
>
> You have brains in your head.
> You have feet in your shoes.
> - Dr Seuss, Oh the Places You'll Go
Re: p2/pde testing p2 software update in rcp application using IDE (not running deployed build) [message #114643 is a reply to message #114590] Fri, 18 July 2008 20:06 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
Thanks, I would love to help, but I have my hands full with the CNF that
I have not yet devoted sufficient time to. But thanks for the pointer.

Pascal Rapicault wrote:
> In the CVS repo there is a plug-in called org.eclipse.equinox.p2.selfhosting
> which was an attempt at doing what you are suggesting but it has not been
> used in months (not sure it compiles). the idea is with that installed in
> your dev environement a proper p2 profile would get generated on startup of
> the launch configuration.
>
> We are hoping to revive this in 3.5, but it is unclear if this will happen
> with the workload we have.
>
> "Francis Upton (News)" <francisu@ieee.org> wrote in message
> news:g5oaag$fu5$1@build.eclipse.org...
>> This bug addresses this issue:
>>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=224658
>>
>> Apparently having a real profile created is not part of the 3.4
>> functionality.
>>
>> Francis Upton (News) wrote:
>>> I wish to use the p2 software update in my RCP application, and I would
>>> like to test the "client" side of it in the IDE (I don't want to run the
>>> headless build and run the application).
>>>
>>> Is it possible to have the PDE mechanism create the necessary p2 profile
>>> for this to happen.
>>>
>>> Currently when I run the Help -> Software update, it gives me the dialog
>>> that it cannot be run because
>>> ProvisioningUtil.getProfile(IProfileRegistry.SELF) does not find the
>>> profile (because it's not there).
>>>
>>> Thanks,
>>>
>>> Francis
>>
>> --
>> *new* Common Navigator Framework section in:
>> 3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
>> http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
>> http://dev.eclipse.org/blogs/francis
>> http://wiki.eclipse.org/Common_Navigator_Framework
>> http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases
>>
>>
>> You have brains in your head.
>> You have feet in your shoes.
>> - Dr Seuss, Oh the Places You'll Go
>
>


--
*new* Common Navigator Framework section in:
3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go


Previous Topic:[p2] Director install accessing ganymede download site using local repository
Next Topic:Making p2 repos with PDE structured with categories and IUs
Goto Forum:
  


Current Time: Fri Apr 26 02:28:33 GMT 2024

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

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

Back to the top