Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » I have managed to deploy p2-ed product using P2 installer from my repository whi
I have managed to deploy p2-ed product using P2 installer from my repository whi [message #125084] Fri, 23 January 2009 04:09 Go to next message
Mustafa is currently offline MustafaFriend
Messages: 13
Registered: July 2009
Junior Member
I have managed to deploy p2-ed product using P2 installer from my
repository which consist of features and plug-in folders. However the
deployed p2-ed product seems to be plug-in based. Is there anything I can
do to make it to feature-based ?

1. I am asking this because on my deployed product when I click on the
"Software Updates>>Available Software>>Manage Site" I do not see any site
(my repo site). Which I think it would be there if my deployed product is
feature-based. I don't want to ask users to key in the update site
manually.

2. I always thought that p2 can work in plug-in based product, is it true
? if it is then how to set the predefined update site ?


Thank you.

Regards,

Mustafa

p2installer.ini:


-consolelog
-roaming
-vmargs
-Dorg.eclipse.equinox.p2.installDescription=http://10.207.161.208/
/installer.properties


installer.properties:


eclipse.p2.metadata=http://10.207.161.208/ /repository/
eclipse.p2.artifacts=http://10.207.161.208/ /repository/
eclipse.p2.flavor=tooling
eclipse.p2.profileName=product1
eclipse.p2.launcherName=product1 Launcher
eclipse.p2.rootId=com.product1.core
eclipse.p2.autoStart=true
Re: I have managed to deploy p2-ed product using P2 installer from my repository whi [message #125094 is a reply to message #125084] Fri, 23 January 2009 04:13 Go to previous messageGo to next message
Mustafa is currently offline MustafaFriend
Messages: 13
Registered: July 2009
Junior Member
Btw, Do I need to set up an update site as well or repository is
sufficient ?

Thank you
Re: I have managed to deploy p2-ed product using P2 installer from my repository whi [message #125101 is a reply to message #125084] Fri, 23 January 2009 04:19 Go to previous messageGo to next message
Mustafa is currently offline MustafaFriend
Messages: 13
Registered: July 2009
Junior Member
Some updates:

1. I have managed to deploy feature-based and p2-ed product, however I
still unable to set the predefined update site

2. Currently I install my product by reading from repository NOT update
site, is this the right way ? or Do I need to build an update site as well
?
Re: I have managed to deploy p2-ed product using P2 installer from my repository whi [message #125115 is a reply to message #125101] Fri, 23 January 2009 12:06 Go to previous message
Rich Scott is currently offline Rich ScottFriend
Messages: 63
Registered: July 2009
Member
Mustafa,

In 3.4 there is not a mechanism to automatically set the update site. (bug
254658 https://bugs.eclipse.org/bugs/show_bug.cgi?id=254658). It looks
like this is being corrected in 3.5. But it is fairly simple to work
around this. What you need to do is include copies of

configuration/.settings/org.eclipse.equinox.p2.metadata.repo sitory.prefs
and

configuration/.settings/org.eclipse.equinox.p2.artifact.repo sitory.prefs

in the install directory that are setup to list your repository. I do this
programatically within the installer, I believe others include those files
as root files in the build.

p2 runs from a repository, basically an update site that include p2
generates contents.xml and artifacts.xml files. Using the repository is
correct.

Rich

Mustafa wrote:

> Some updates:

> 1. I have managed to deploy feature-based and p2-ed product, however I
> still unable to set the predefined update site

> 2. Currently I install my product by reading from repository NOT update
> site, is this the right way ? or Do I need to build an update site as well
> ?
Previous Topic:How to generate p2 metadata for exported product?
Next Topic:Specifying initial repositories for an installed product
Goto Forum:
  


Current Time: Tue Mar 19 02:25:03 GMT 2024

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

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

Back to the top