Last I checked, p2 doesn't do jar:http: ... it only does these:
http://path/to/dir/
file:/path/to/dir
jar:file:/path/to.zip
So, to work around this, Athena will precache a repositoryURL pointing
at http://path/to.zip in the downloadsDir and internally convert the URL
to a local pointer (jar:file:) instead of an http one. First build it
fetches it, subsequent builds it checks for the zip locally first and if
the timestamps are the same, it won't refetch it.
N
Pascal Rapicault wrote:
Download the zip and then use the jar: URL, or even better, download the
zip, unzip it and use a file:
Inactive hide details for David Carver ---10/12/2009 09:27:03 AM---What
I'm trying to decide is if when using Athena, if I needDavid Carver
---10/12/2009 09:27:03 AM---What I'm trying to decide is if when using
Athena, if I need to do a P2
From:
David Carver <d_a_car...@yahoo.com>
To:
Tools for Committer Community <dash-dev@eclipse.org>
Cc:
dash-dev-boun...@eclipse.org
Date:
10/12/2009 09:27 AM
Subject:
Re: [dash-dev] P2 ZIP Repos Cached
------------------------------------------------------------------------
What I'm trying to decide is if when using Athena, if I need to do a P2
ZIP download to a cache one time, and then feed those zips to Athena's
repositoryURL property file using jar:file:/// format instead of
jar:http:// format. This way I can avoid possible unnecessary network
overhead in subsequent builds, and then install as I need.
Dave
Pascal Rapicault wrote:
>
> If the URL is jar:http://....!/foo.zip <http://....%21/foo.zip> the
> zip will be redownloaded. p2 uses the java facility to that effect.
> Note that using this sorts of URL seems to miss the point of
> downloading just what you need since you will end up downloading
> everything even though you only need a few things.
>
>
> Inactive hide details for David Carver ---10/12/2009 08:29:52
> AM---When using a P2 Zip repo in the repository URL, is this cachDavid
> Carver ---10/12/2009 08:29:52 AM---When using a P2 Zip repo in the
> repository URL, is this cached for
>
>
> From:
> David Carver <d_a_car...@yahoo.com>
>
> To:
> Tools for Committer Community <dash-dev@eclipse.org>
>
> Date:
> 10/12/2009 08:29 AM
>
> Subject:
> [dash-dev] P2 ZIP Repos Cached
>
> ------------------------------------------------------------------------
>
>
>
> When using a P2 Zip repo in the repository URL, is this cached for
> subsequent uses (say in the downloads dir), or is it fetched every time
> and then unzipped? I'd like to avoid some of the jumps out to the
> network to help reduce some network traffic and potential delays during
> the build.
>
> Dave
>
> _______________________________________________
> dash-dev mailing list
> dash-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/dash-dev
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> dash-dev mailing list
> dash-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/dash-dev
>
_______________________________________________
dash-dev mailing list
dash-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/dash-dev
------------------------------------------------------------------------
_______________________________________________
dash-dev mailing list
dash-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/dash-dev
--
Nick Boldt :: http://nick.divbyzero.com
Release Engineer :: Eclipse Modeling & Dash Athena
_______________________________________________
dash-dev mailing list
dash-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/dash-dev