[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
Fri May 10 13:01:53 EDT 2013


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

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

As mentioned (incorrectly) over on JBIDE-13266... found a new problem.

If you mirror, gen metadata, then pack, you end up with metadata based on any packed artifacts you pulled down from eclipse.org... NOT metadata for those you REGENERATED via pack200.

And because pack200 sucks (or JDKs are different on eclipse.org vs. on www.qa, whatever) there's a chance that the NEW packed jar will have a different MD5 sum than the one that was previously fetched and pushed into the metadata.

So... I'm thinking the workaround here is to ensure that we run <p2.publish.featuresAndBundles> AFTER packing.

Not sure if we have to run it before and after; going to assume there's no harm in ONLY doing after. Testing that now for the wtp 3.5M7 site.

Alternatively, if we could tell <p2.process.artifacts> to only generate packed artifacts for things which don't already exist, that'd be great. Unfortunately the only supported filter mechanism is to nest a list of <feature> and <plugin> entries, which isn't as much fun as it sounds.

                
> 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, target-platform, 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