[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Specifying an archived p2 repository in pom.xml?
|
The eclipse .target supports this syntax:
<repository location="jar:http://myhost/p2/myrepo.zip!/"/>
and it also builds fine with tycho 0.14.1. But if the same notation is
used in the pom.xml file like:
<repositories>
<repository>
<id>myrepo</id>
<layout>p2</layout>
<url>jar:http://myhost/p2/myrepo.zip!/</url>
</repository>
</repositories>
it fails with tycho. I will stick with specifying it in the .target file.
On Wed, May 23, 2012 at 3:27 PM, Sievers, Jan <jan.sievers@xxxxxxx> wrote:
> not supported. Underlying JDK URLStreamHandler only supports jar:file: URLs
>
> Jan
>
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Mickael Istria
> Sent: Mittwoch, 23. Mai 2012 14:57
> To: tycho-user@xxxxxxxxxxx
> Subject: Re: [tycho-user] Specifying an archived p2 repository in pom.xml?
>
> On 05/23/2012 02:40 PM, motes motes wrote:
> Hm any idea on the syntax when the zipped p2 repo is located on a web server:
>
> http://myhost/p2/myrepo.zip
>
> I have tried:
>
>
> <repositories>
> <repository>
> <id>myrepo</id>
> <layout>p2</layout>
> <!-- <url>jar:file:////http://myhost/p2/myrepo.zip!/</url> -->
> <url>http://myhost/p2/myrepo.zip</url>
> </repository>
> </repositories>
>
>
> What about
> jar:http://myhost/p2/myrepo.zip!
> ?
> --
> Mickael Istria
> Eclipse developer at JBoss, by Red Hat
> My blog - My Tweets
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user