[JBoss JIRA] Created: (JBDS-1486) Change storage format for packed artifacts from .blobstore to jar.pack.gz files in JBDS target platform p2repo
by Denis Golovin (JIRA)
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: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBDS-1482) Do not exclude .blobstore from jbds target platform arefacts: update site and archive
by Denis Golovin (JIRA)
Do not exclude .blobstore from jbds target platform arefacts: update site and archive
-------------------------------------------------------------------------------------
Key: JBDS-1482
URL: https://issues.jboss.org/browse/JBDS-1482
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: Build, P2 Enabled Product
Affects Versions: 4.0.0.CR1
Reporter: Denis Golovin
Assignee: Nick Boldt
Fix For: 4.0.0.CR1
most artifacts are marked in metadata as pack200 unpack required
<artifact classifier='osgi.bundle' id='org.eclipse.datatools.enablement.finfo' version='1.5.1.v200906161800'>
<processing size='1'>
<step id='org.eclipse.equinox.p2.processing.Pack200Unpacker' required='true'/>
</processing>
<properties size='4'>
but there are no pack.gz as well as .blobstore and that's why:
1. mirroring from target platform repo fails, because it cannot find artefacts
2. update for eclipse platform plugins would not work
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months