Community
Participate
Working Groups
While the "Team > Release" action allows selecting a custom mapfile project (remembered across multiple invocations through DialogSettings in the wizard), the actions "Replace with > Released" and "Compare with > Released" always search the mapfile in the default mapfile project, "org.eclipse.releng" only. This makes this functionality hard to use for projects other than Eclipse Platform, which store their mapfiles in other projects. I found following workarounds * Patch the org.eclipse.releng.tools/tools.jar/messages.properties file --> The key to change is RelEngPlugin.1=org.eclipse.releng * Create a new project named "org.eclipse.releng" and add a folder "maps" as a linked resource, being linked to the real maps folder. I tested this only quickly, and it seems to work though it may be risky since CVS is not operational below the linked resource folder. Both workarounds are somewhat awkward, and I'd like to see a real solution. I could imagine any of the following: (1) Add an action "Set as default mapfile project" which allows the user to select the actual mapfile project and set it as the default - the default should be remembered (2) Add a Preference Page for releng.tools, with a Preference setting for the "default mapfile project" and "default mapfile folder" Suggestion (1) seems to be least effort. Suggestion (2) seems to be a little cleaner.
Created attachment 79476 [details] Patch for relengtools Added a preference page for setting the desired map project. Compare, Replace, and Release now all use the same dialog for selecting map project.
Created attachment 79498 [details] Patch for relengtools Fixed some deficiencies found in the previous patch.
Created attachment 79504 [details] Patch for relengtools Fixed some deficiencies found in the previous patch.
Created attachment 79508 [details] patch for releng.tools Here is an updated patch. Allan, please integrate the Release... action with the new code.
Created attachment 79641 [details] Patch for relengtools Updated patch.
Created attachment 79813 [details] Patch for relengtools Another updated patch.
Created attachment 79949 [details] Patch for relengtools Updated to compile properly with Java 1.4
Created attachment 79957 [details] Patch for relengtools Updated patch.
Created attachment 80079 [details] patch Looks good. Here is a slightly modified patch. Sonia, please review and release. Thanks.
Patch applied and released for the next builds. Thanks guys!
Since I first see this in I20071107-1300, I suppose it's going into 3.4M4. Just one suggestion -- the Prefs page is now (Root) -> Map Project Selection which is not quite where I had expected it. What about putting this in (Root) -> Team -> Releng Map Project Selection Since the associated actions are all Team-support related, e.g. Team > Release Replace with > Released Compare with > Released Apart from that, I find this really helpful -- thanks!!!
Thanks, Martin. I have opened bug 209840 to address moving the preference page to a more logical category.