Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 376583

Summary: generated repository must be compared against baseline
Product: [Technology] CBI Reporter: Paul Webster <pwebster>
Component: build helpAssignee: Thanh Ha <thanh.ha>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: andrea.ross, thanh.ha
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 372792    

Description Paul Webster CLA 2012-04-12 07:45:33 EDT

    
Comment 1 Paul Webster CLA 2012-04-12 07:55:55 EDT
After the build repository has been completed (currently in TMP/org.eclipse.sdk.epp), it needs to be run through the comparator against the previous/baseline build before it's used to materialize the product zips.

In our current build, that's done via:

<p2.mirror source="file:${p2.repo}" 
      log="${buildDirectory}/${buildLabel}/mirrorLog.txt" ignoreErrors="true">
   <destination compressed="true" name="${p2.repo.name}"
      location="file:${updateSite}/${buildLabel}" 
      append="true" kind="metadata" />
   <destination compressed="true" name="${p2.repo.name}"
      location="file:${updateSite}/${buildLabel}" append="true"
      format="file:${buildDirectory}/formatRepo" kind="artifact"/>
   <comparator 
         comparator="org.eclipse.equinox.p2.repository.tools.jar.comparator" 
         comparatorLog="${buildDirectory}/${buildLabel}/comparatorlog.txt">
      <repository location="${repoBaseline}" />
   </comparator>
</p2.mirror>

PW
Comment 2 Paul Webster CLA 2012-07-19 11:46:50 EDT
There's definitely some progress here, http://dev.eclipse.org/mhonarc/lists/cbi-dev/msg00470.html

PW
Comment 3 Thanh Ha CLA 2012-08-27 10:07:21 EDT
Since the CBI platform build now runs the comparator when passing the -X option, is this bug resolved?
Comment 4 Paul Webster CLA 2012-09-19 15:12:48 EDT
Yes, let's call it done and then we'll start looking at the reports it does.

PW