Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] how to add <repository /> element to <references /> in content.xml

You can also add an update site reference to a feature.xml file. This will be converted into a repository reference by the p2 publisher. Finally you can use a p2.inf file in a product to specify the repository location for that product. There is an excellent introduction to that here:

http://www.ralfebert.de/blog/eclipsercp/p2_updates_tutorial/#add_selfupdate_to_the_application

John



On Wed, May 25, 2011 at 1:20 PM, Greg Amerson <gregory.amerson@xxxxxxxxxxx> wrote:
Hello all,

What is the official way to add repository elements the <references /> list in content.xml?  I know at least one way is to have UpdateSitePublisher run on a old-style site.xml file that specifies an associateSitesURL attribute that points to a local associate-sites.xml file.  Is there a way to accomplish this without using an old-style site?  

Thanks!

--
Greg Amerson (@greg_amerson)
Liferay, Inc. (#liferay)

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev



Back to the top