Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPP » Downloading an update site to a local mirror programmatically
Downloading an update site to a local mirror programmatically [message #11420] Thu, 04 June 2009 08:55 Go to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
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 #11458 is a reply to message #11420] Mon, 15 June 2009 06:35 Go to previous messageGo to next message
Eclipse User
Originally posted by: jacek.pospychala.pl.ibm.com

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 #11495 is a reply to message #11458] Mon, 15 June 2009 06:36 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
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 Go to previous message
Jacek Pospychala is currently offline Jacek Pospychala
Messages: 159
Registered: July 2009
Senior Member
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 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
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
>
>
Previous Topic:Downloading an update site to a local mirror programmatically
Next Topic:Usage of UDC in 3rd party Eclipse plugins and distributions
Goto Forum:
  


Current Time: Sat Jul 26 07:30:03 EDT 2014

Powered by FUDForum. Page generated in 0.02009 seconds