[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:



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?  


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

p2-dev mailing list