Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354260

Summary: Parse update.url in p2.inf
Product: [Eclipse Project] Equinox Reporter: Maia Kozheva <sikon>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: irbull, pascal.rapicault, roland.oldenburg, sikon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug
Attachments:
Description Flags
Patch
none
Patch v2
sikon: review?
new version also patching publisher to write out 'url' attribute none

Description Maia Kozheva CLA 2011-08-09 10:31:10 EDT
Build Identifier: 20110615-06-4

Currently, AdviceFileParser understands the id, severity, range and description properties (per bug #279015), but not the url property. As such, it is impossible to automatically generate a content.xml whose release notes for the product will point to a web page (as recognized by UpdateSingleIUWizard).

Reproducible: Always

Steps to Reproduce:
1. Add an update.url argument to a product's p2.inf.
2. Run the p2 publisher.
3. Open content.jar and look at the product's update tag in the generated content.xml. The URL is not there.
Comment 1 Maia Kozheva CLA 2011-08-09 10:59:29 EDT
Created attachment 201150 [details]
Patch
Comment 2 DJ Houghton CLA 2011-08-17 11:41:11 EDT
Is the patched tested and known to work? I get compile errors (uncaught exception from the URI constructor) when I apply your patch to my workspace.
Comment 3 Maia Kozheva CLA 2011-08-26 09:45:52 EDT
Created attachment 202231 [details]
Patch v2

Uploaded a fixed patch. This one should compile.
Comment 4 R. Oldenburg CLA 2012-04-07 02:31:39 EDT
Hey guys,

I found some additional places that need to be adjusted in order to finally get the url entry in a p2 site created by the p2 publisher.

I will add an updated patch.
This way we now are able to create updates with buckminster that are shown as a single IU site using the url defined in the p2.inf advice.
Comment 5 R. Oldenburg CLA 2012-04-07 02:38:58 EDT
Created attachment 213724 [details]
new version also patching publisher to write out 'url' attribute
Comment 6 Ian Bull CLA 2012-06-11 14:21:21 EDT
Adding to kepler since we have a patch on the bug.  Thanks.
Comment 7 Eclipse Genie CLA 2019-10-31 07:20:37 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.