[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Question about .blobstore

Both format are supported, but it is true that it is less surprising for ppl to find the pack.gz file next to the other jars.
To create those repos, we have the p2.process.artifacts ant task http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_repositorytasks.htm
If you start from pack.gz file already available, it will add them to the repo. It also has an option to create those pack.gz

When you are mirroring a repo you can use the format attribute of the repository tag to specify a repository that you want to copy the format from. See for example http://wiki.eclipse.org/Equinox/p2/Ant_Tasks


Inactive hide details for "Kirill Balod" ---04/12/2009 09:37:12 AM---Hello,"Kirill Balod" ---04/12/2009 09:37:12 AM---Hello,


"Kirill Balod" <Kirill.Balod@xxxxxxxxxxx>




04/12/2009 09:37 AM


[p2-dev] Question about .blobstore


Could somebody from developer team explain a policy about Pack200 artifacts?
When I download zipped archive sites from eclipse.org I see (usually) two elements .jar and .jar.pack.gz for each plug-in in "plugin" directory.
When I mirror this zipped archive sites using p2.mirror task - I have only .jar entries in "plugin" directory.
All .jar.pack.gz entries saved in .blobstore directory and artifacts.xml referenced it using 'artifact.uuid' property.

<artifact classifier='osgi.bundle' id='org.eclipse.birt.chart.device.pdf' version='2.5.1.v20090625'>
<processing size='1'>
<step id='org.eclipse.equinox.p2.processing.Pack200Unpacker' required='true'/>
<properties size='4'>
<property name='artifact.size' value='11723'/>
<property name='download.size' value='6566'/>
<property name='format' value='packed'/>
<property name='artifact.uuid' value='307886c89dda001e1415b1e9af675960'/>

Which kind of repo more "standard"? Which p2 task/application I should use to produce site without ".blobstore" but with ".jar.pack.gz" entries?

Eclipse 3.5.1 release is used.

Best regards
Kirill A. Balod
p2-dev mailing list

GIF image

GIF image