Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Create local p2-mirror from target definition
Create local p2-mirror from target definition [message #1387031] Mon, 23 June 2014 15:11 Go to next message
Boris Brodski is currently offline Boris BrodskiFriend
Messages: 112
Registered: July 2009
Senior Member
Hello,


my question is: How can I create a local p2 mirror repository from a target definition (.target file)?


This seams to be a simple question, here is what I did and where I got stuck:


Try 1:
- Open target file, set wanted arch/ws/os options and click "Export".
(Repeat for all needed arch/ws/os combinations and all target files Sad )
=> Didn't work: Exported repo contains folders and so can't be accessed remotely.

ERROR: Artifact org.eclipse.update.feature,org.eclipse.jdt,3.9.2.v20140221-1700 is a folder but the repository is an archive or remote location.


Try 2:
- Convert target file to the p2.mirror Ant task call.
=> Missing feature bundles. The resolution seams to run differently compared to the target platform resolution.


So how can I create a mirror p2 repository containing only artifacts, that I really need for my projects?

Thank you very much for help!


Cheers,
Boris Brodski

[Updated on: Wed, 30 July 2014 11:15]

Report message to a moderator

Re: Creating local mirrors [message #1404162 is a reply to message #1387031] Wed, 30 July 2014 07:11 Go to previous message
Boris Brodski is currently offline Boris BrodskiFriend
Messages: 112
Registered: July 2009
Senior Member
Hello,


I wrote an export wizard, that can export p2 repositories (Must be selected using checkbox below):

Source: https://github.com/borisbrodski/org.eclipse.pde.targetplatformexporter
Update site: https://github.com/borisbrodski/org.eclipse.pde.targetplatformexporter/raw/updatesite/org.eclipse.pde.targetplatformexporter.site

index.php/fa/18694/0/

It's implemented really "quick and dirty", but it works Smile
Pull requests and comments are welcome!


Cheers,
Boris
Previous Topic:Composite repository entry that does not bring in categories
Next Topic:osgi.configuration.area vs. simpleconfigurator
Goto Forum:
  


Current Time: Thu Mar 28 20:54:54 GMT 2024

Powered by FUDForum. Page generated in 0.02723 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top