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

Bug 173314

Summary: [relengtool] Update tools to handle multiple versions of plug-ins in map files
Product: [Eclipse Project] Platform Reporter: DJ Houghton <dj.houghton>
Component: RelengAssignee: Platform-Releng-Inbox <platform-releng-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P5 CC: david_williams, kim.moir, Michael.Valenta, tjwatson
Version: 3.2Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
new releng.tools JAR
none
patch for releng.tools
none
new releng.tools JAR
none
patch for releng.tools
none
new releng.tools JAR
none
patch for releng.tools none

Description DJ Houghton CLA 2007-02-07 13:43:39 EST
PDE (build and ui) have been working to allow for multiple versions of the same plug-in to exist in the workspace and be built. 

This means that the same plug-in can have multiple entries in the map file. The RelEng tool needs to account for this.

See also bug 172887 which addresses (and handles) the new CVS fetch format including the addition of the version to the id part of the line.
Comment 1 DJ Houghton CLA 2007-02-20 17:58:13 EST
Created attachment 59426 [details]
new releng.tools JAR

Here is a new version of the Releng tools to run with and test. Clients in a normal situation should notice no difference. It adds support for multiple versions in a map file.
Comment 2 DJ Houghton CLA 2007-02-20 17:59:05 EST
Created attachment 59427 [details]
patch for releng.tools

Here is a patch against HEAD for the new code in the above JAR.
Comment 3 DJ Houghton CLA 2007-02-27 13:38:38 EST
Note that the patch doesn't work. The map entry registry is out of sync with the file contents. Will try updating with a resource change listener...
Comment 4 DJ Houghton CLA 2007-03-12 12:16:52 EDT
Created attachment 60567 [details]
new releng.tools JAR
Comment 5 DJ Houghton CLA 2007-03-12 12:18:09 EDT
Created attachment 60569 [details]
patch for releng.tools

Here is a patch for the org.eclipse.releng.tools project and a built JAR. We will test it more this week so do not release anything quite yet.
Comment 6 DJ Houghton CLA 2007-03-22 09:27:35 EDT
*** Bug 178719 has been marked as a duplicate of this bug. ***
Comment 7 Kim Moir CLA 2007-04-11 20:18:45 EDT
Was the testing successful?
Comment 8 DJ Houghton CLA 2007-04-12 12:26:54 EDT
There is one more bug to fix related to feature entries in the file.
Comment 9 DJ Houghton CLA 2007-04-12 13:18:05 EDT
Created attachment 63633 [details]
new releng.tools JAR

Tom was having problems with features not appearing in the list of projects to release. I have tried this and it works ok for me. Perhaps I am running with more changes that aren't attached to this report.

Tom, here is a new JAR to run with.

I will also attach an updated patch file.
Comment 10 DJ Houghton CLA 2007-04-12 13:19:25 EDT
Created attachment 63634 [details]
patch for releng.tools
Comment 11 Thomas Watson CLA 2007-04-12 13:41:17 EDT
The latest jar is working for me again.  It is hard to tell if the updated jar was the reason it started to work for me.  The previous patched jar used to work for me on the I-Build a few weeks back.  Then on last weeks I-Build I had problems tagging.  Now I have moved up to this weeks I-Build and the latest releng patched jar and it works fine again for me on my same old tagging workspace.
Comment 12 Kim Moir CLA 2012-03-01 11:05:51 EST
With the move to Git, this tool isn't in active use anymore for anything other than copyright updates.  I'm going to close this bug as we have no plans to address it.