[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.equinox] Re: I have managed to deploy p2-ed product using P2 installer from my repository whi

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.repository.prefs and

configuration/.settings/org.eclipse.equinox.p2.artifact.repository.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 ?