Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351698 - Tycho doesn't like jar:/url/to/file.zip!/ in a .target file, whereas Eclipse supports such repositories
Summary: Tycho doesn't like jar:/url/to/file.zip!/ in a .target file, whereas Eclipse ...
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jan Sievers CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-11 07:27 EDT by Mickael Istria CLA
Modified: 2021-04-28 16:54 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Jan Sievers CLA 2011-07-11 08:24:07 EDT
AFAIK the underlying jar URL protocol in the JDK only supports jar:file URLs, not jar:http or other.

Can you confirm that installing/updating  from the jar:https URL into eclipse using the p2 UI works?
Comment 2 Mickael Istria CLA 2011-07-11 08:37:59 EDT
I succesded to get it working when defining a target platform, but I do not succeed to reproduce that successful case. I assume that it was a case where the target platform editor silently made some magic to get the zip.

Nevermind, I understand that it is a JVM limitation, then I let you close the bug.
Comment 3 Jan Sievers CLA 2011-07-11 09:49:53 EDT
closing as per last comment.
Comment 4 Mickael Istria CLA 2011-07-11 11:52:12 EDT
Actually, I just had this use case of jar:https://....zip!/ working on our CI server!
Seems like Tycho and Eclipse support this kind of URLs, the problem was maybe because build was occuring at a wrong time.