[jbosstools-issues] [JBoss JIRA] (JBIDE-13977) updates/requirements/*/build.xml scripts should include pack.gz artifacts (using p2.process.artifacts pack="true") to make resolving multiple.target faster

Nick Boldt (JIRA) jira-events at lists.jboss.org
Sat Apr 27 15:02:53 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-13977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770540#comment-12770540 ] 

Nick Boldt commented on JBIDE-13977:
------------------------------------

When I removed the extra packed jars from the ./features/ and ./ folders and regenerated the metadata...

{code} 
<delete quiet="true" failonerror="false"><fileset dir="${workDir}" includes="*.pack.gz, features/*.pack.gz"/></delete> 
<p2.publish.featuresAndBundles metadataRepository="file:${workDir}" artifactRepository="file:${workDir}" publishartifacts="true" source="${workDir}" compress="${compress}" />
{code}

... the resulting artifacts.xml file was the same, so I guess we might was well keep them in the resulting repo, as I'm guessing p2 will in fact see them.

Not 100% sure about artifacts.jar.pack.gz and content.jar.pack.gz but those are small files anyway, so the b/w and disk usage is relatively small.
                
> updates/requirements/*/build.xml scripts should include pack.gz artifacts (using p2.process.artifacts pack="true") to make resolving multiple.target faster
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13977
>                 URL: https://issues.jboss.org/browse/JBIDE-13977
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Build/Releng, updatesite, upstream
>    Affects Versions: 4.1.0.Alpha2
>            Reporter: Nick Boldt
>            Assignee: Mickael Istria
>             Fix For: 4.1.0.Beta1
>
>
> All ant scripts (updates/requirements/*/build.xml) used to mirror 3rd party reqs from Eclipse.org and other places should be updated to generate .pack.gz artifacts too.
> {code}<p2.process.artifacts pack="true" repositoryPath="file:/${repoDirLocation}" />{code}
> Refs: 
> * http://git.eclipse.org/c/platform/eclipse.platform.releng.eclipsebuilder.git/plain/scripts/repoRelated/process-artifacts.xml
> * http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_repositorytasks.htm&cp=2_0_20_3_3

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list