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

Bug 311596

Summary: Helios staging repo has invalid repository reference
Product: Community Reporter: Susan McCourt <susan>
Component: Cross-ProjectAssignee: Cross-Project issues <cross-project.inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david_williams, emanuel, Kenn.Hussey, pascal, pnehrer, thomas
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Susan McCourt CLA 2010-05-04 14:03:22 EDT
+++ This bug was initially created as a clone of Bug #311338 +++

1. Click Help -> Install New Software
2. Choose a Update Site
3. Check Feature
4. Click Next

The following exception is thrown:
java.lang.IllegalArgumentException: Location must be absolute: %25update.label
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.checkValidLocation(AbstractRepositoryManager.java:703)
at 



p2 is being quite unforgiving in the original bug and we will fix that.
However, the broken repo reference should be fixed or else there will likely be artifacts that won't be found.

What I observe is that the site
http://download.eclipse.org/releases/staging/

contains a reference to an artifact repository whose location is
%25update.label
Comment 1 Kenn Hussey CLA 2010-05-04 14:55:50 EDT
The content manifest for the MDT interim repository (at http://download.eclipse.org/modeling/mdt/updates/interim) contained two such bogus references, which have been removed. This should fix the problem, unless there is another such repository lurking in another project...
Comment 2 David Williams CLA 2010-05-04 15:52:44 EDT
Thanks Ken, you're right. the latest aggregation has no warnings in the log, 
https://build.eclipse.org/hudson/view/Repository%20Aggregation/job/helios.runBuckyBuild/615/console 

and it has been promoted to staging. 

Good things those bugs were there though to help iron out the new p2 function :)
Comment 3 Kenn Hussey CLA 2010-05-04 16:18:56 EDT
(In reply to comment #2)
> Thanks Ken, you're right. the latest aggregation has no warnings in the log, 
> https://build.eclipse.org/hudson/view/Repository%20Aggregation/job/helios.runBuckyBuild/615/console 
> 
> and it has been promoted to staging. 

Right... except that this build doesn't reference the problematic "interim" repository (rather, it references the "milestones" repository instead). In any case, I think we should be in the clear now...