]
Denis Golovin commented on JBDS-1486:
-------------------------------------
I'm testing it on local target platform to confirm that repo mirrored that way is
working for us.
Change storage format for packed artifacts from .blobstore to
jar.pack.gz files in JBDS target platform p2repo
--------------------------------------------------------------------------------------------------------------
Key: JBDS-1486
URL:
https://issues.jboss.org/browse/JBDS-1486
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Feature Request
Components: Build
Affects Versions: 4.0.0.CR1
Reporter: Denis Golovin
Assignee: Denis Golovin
Fix For: 4.0.0.CR1
Now JBDS Target Platform p2 repo uses default format to store packed with pack200
artifacts.
After digging repos available on eclipse I found a solution to control that. Magic is in
format attribute of destination tag. Documentation says: "A URL to another repository
from which to copy the repository name and other properties". It gave me an idea to
find p2 repo on
download.eclipse.org with jar.pack.gz files and check its properties in
artifacts.xml. Soon I noticed a property that controls it
<property name="publishPackFilesAsSiblings" value="true"/>
So if you want to get rid of .blobstore in mirrored p2 repo just create artifacts.xml
file like
<repository name="My repo with jar.pack.gz files"
type="org.eclipse.equinox.p2.artifact.repository.simpleRepository"
version="1.0.0">
<properties size="1">
<property name="publishPackFilesAsSiblings"
value="true"/>
</properties>
</repository>
Then in destination tag format attribute use URL to folder that contains artifacts.xml
file with content provided above and p2.mirror task will copy
'publishPackFilesAsSiblings' attribute to your local mirror. This will force
mirroring task to store artifacts packed with pack200 as jar.pack.gz files.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: