Downloading an update site to a local mirror programmatically [message #11420] |
Thu, 04 June 2009 08:55  |
Eclipse User |
|
|
|
Hi,
I need to assembly an Eclipse package from a list of update sites. To
save some time and avoid downloading each update site every time I'm
building the package, I'd like to be able to download the update sites
to a local folder in an one-off step and then use EPP with these local
update sites.
I suspect that EPP already contains functionality that I can reuse for
downloading the contents of an update site (site.xml, plugins, features)
to a local folder but I can't figure out which classes I should use. Any
pointers would be much appreciated.
Cheers,
Dimitris
|
|
|
|
Re: Downloading an update site to a local mirror programmatically [message #11495 is a reply to message #11458] |
Mon, 15 June 2009 06:36  |
Eclipse User |
|
|
|
Many thanks for the pointer!
Cheers,
Dimitris
Jacek Pospychala wrote:
> Dimitris,
>
> To copy repositories (former update sites), use p2 Mirror Application.
> See more at http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring
>
>
> Dimitris Kolovos pisze:
>> Hi,
>>
>> I need to assembly an Eclipse package from a list of update sites. To
>> save some time and avoid downloading each update site every time I'm
>> building the package, I'd like to be able to download the update sites
>> to a local folder in an one-off step and then use EPP with these local
>> update sites.
>>
>> I suspect that EPP already contains functionality that I can reuse for
>> downloading the contents of an update site (site.xml, plugins,
>> features) to a local folder but I can't figure out which classes I
>> should use. Any pointers would be much appreciated.
>>
>> Cheers,
>> Dimitris
>
>
|
|
|
Re: Downloading an update site to a local mirror programmatically [message #578981 is a reply to message #11420] |
Mon, 15 June 2009 06:35  |
Eclipse User |
|
|
|
Dimitris,
To copy repositories (former update sites), use p2 Mirror Application.
See more at http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring
Dimitris Kolovos pisze:
> Hi,
>
> I need to assembly an Eclipse package from a list of update sites. To
> save some time and avoid downloading each update site every time I'm
> building the package, I'd like to be able to download the update sites
> to a local folder in an one-off step and then use EPP with these local
> update sites.
>
> I suspect that EPP already contains functionality that I can reuse for
> downloading the contents of an update site (site.xml, plugins, features)
> to a local folder but I can't figure out which classes I should use. Any
> pointers would be much appreciated.
>
> Cheers,
> Dimitris
--
Rational Elite Support for Eclipse
|
|
|
Re: Downloading an update site to a local mirror programmatically [message #578999 is a reply to message #11458] |
Mon, 15 June 2009 06:36  |
Eclipse User |
|
|
|
Many thanks for the pointer!
Cheers,
Dimitris
Jacek Pospychala wrote:
> Dimitris,
>
> To copy repositories (former update sites), use p2 Mirror Application.
> See more at http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring
>
>
> Dimitris Kolovos pisze:
>> Hi,
>>
>> I need to assembly an Eclipse package from a list of update sites. To
>> save some time and avoid downloading each update site every time I'm
>> building the package, I'd like to be able to download the update sites
>> to a local folder in an one-off step and then use EPP with these local
>> update sites.
>>
>> I suspect that EPP already contains functionality that I can reuse for
>> downloading the contents of an update site (site.xml, plugins,
>> features) to a local folder but I can't figure out which classes I
>> should use. Any pointers would be much appreciated.
>>
>> Cheers,
>> Dimitris
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03093 seconds